Own-and-Ship / oas_agent

The Own & Ship Ruby agent
2 stars 0 forks source link

Inline Control class code into the damn class #16

Closed caius closed 10 months ago

caius commented 1 year ago

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.