Skip to content

Instantly share code, notes, and snippets.

@tobowers
Created November 3, 2014 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobowers/827c1b5c3985dc80f5c6 to your computer and use it in GitHub Desktop.
Save tobowers/827c1b5c3985dc80f5c6 to your computer and use it in GitHub Desktop.
class ApiFrontEnd
def consume(attrs)
instance = Foo.new(attrs)
instance.include(SomeModule)
instance.method_from_some_module
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment