Closed kaspth closed 1 year ago
Since our accounts and users are object instances we can leverage Ruby's singleton methods to define helpers:
accounts
users
object = Object.new def object.hello = "hello" object.hello # => "hello" object.singleton_methods # => [:hello]
We probably need to refine these some more, but I want to get the tests for these in first.
Since our
accounts
andusers
are object instances we can leverage Ruby's singleton methods to define helpers:We probably need to refine these some more, but I want to get the tests for these in first.