question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactor machine variables into separate class

See original GitHub issue

Currently, machine vars are in the main MachineController. Move them to a member “variables” so that they can be accessed as self.machine.variables.get("name") or self.machine.variables["name"].

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jabdoa2commented, Jul 15, 2019

You can totally work on this one.

0reactions
jabdoa2commented, Jul 20, 2019

fixed in #1394 by @pmansukhani

Read more comments on GitHub >

github_iconTop Results From Across the Web

Refactor hardcoded variable across multiple classes into ...
this will help you replace value from all other occurance. Yes, but only in a single file. This question was to do the...
Read more >
Refactoring: This class is too large
I want to make it easier to add another credit card, so I'm going to start by breaking this large class into smaller...
Read more >
Refactoring techniques
These refactoring techniques show how to safely move functionality between classes, create new classes, and hide implementation details from public access.
Read more >
Extract into class refactorings | IntelliJ IDEA Documentation
The Extract Delegate refactoring lets you extract some of the fields and methods of a class into a separate, newly created class.
Read more >
11 Refactoring Methods
4. INLINE VARIABLE ... Variables provide names for expressions within a function, and as such, they are usually a Good Thing. But sometimes,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found