Skip to content

Instantly share code, notes, and snippets.

@DCarper
Created August 5, 2011 19:56
Show Gist options
  • Select an option

  • Save DCarper/1128363 to your computer and use it in GitHub Desktop.

Select an option

Save DCarper/1128363 to your computer and use it in GitHub Desktop.
# lib/some_presenter
class some_presenter
attr_accessor :my_object
def initialize(some_object)
self.my_object = some_object
end
def blankify(method)
#logic
my_object.send method
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment