Created
October 3, 2009 22:16
-
-
Save foca/200913 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
<%= foo(@object).cuack %> | |
<% foo(@objects).each do |o| %> | |
<%# you get the idea %> | |
<% end %> |
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
module FooHelper | |
def foo(something) | |
ComplexFooBeast.new(something) | |
end | |
class ComplexFooBeast | |
# ... | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment