[x] Move Control instance methods into main code file
[x] Move Control class methods into main code file
[ ] Add tests to ensure the gem loads/functions correctly still
Why?
Unclear from the code why this split occurred previously. The methods for the Control class were split out into InstanceMethods and ClassMethods in separate files which makes it much harder to follow the logic of what's where and was somewhat confusing to pick my way through initially.
This moves them all into the class Control definition, as class/instance methods are usually defined in Ruby projects.
What?
Why?
Unclear from the code why this split occurred previously. The methods for the
Control
class were split out into InstanceMethods and ClassMethods in separate files which makes it much harder to follow the logic of what's where and was somewhat confusing to pick my way through initially.This moves them all into the
class Control
definition, as class/instance methods are usually defined in Ruby projects.