Skip to content

Instantly share code, notes, and snippets.

View mynameisrufus's full-sized avatar

Rufus Post mynameisrufus

View GitHub Profile
### Problem, rigid dependency injection ###
class Demo
def initialize
@instancev = Something.new
end
def method_1
do_that
@instancev.something
end