Created
August 5, 2011 19:56
-
-
Save DCarper/1128363 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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