Created
October 25, 2012 02:37
-
-
Save cwoodcox/3950142 to your computer and use it in GitHub Desktop.
This file contains 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
[28] pry(#<Module>):2> show-method nav_class | |
From: /Users/cwoodcox/Projects/esa/app/helpers/shim/pages_helper.rb @ line 8: | |
Number of lines: 7 | |
Owner: Shim::PagesHelper | |
Visibility: public | |
def nav_class(section) | |
if current_section == section | |
"current-page" | |
else | |
"" | |
end | |
end | |
[29] pry(#<Module>):2> ancestors | |
=> [#<Module:0x007f8516a78878>, | |
#<Module:0x007f85132d6e10>, | |
Shim::PagesHelper, | |
EventsHelper, | |
DeviseHelper, | |
ApplicationHelper, | |
#<Module:0x007f8511ba6d30>, | |
MetaSearch::Helpers::FormHelper, | |
MetaSearch::Helpers::UrlHelper] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment