Module: Finder::Findable
- Defined in:
- lib/finder.rb
Overview
Clean module that can be included elsewhere, to proved #path, #load_path and #data_path methods without including the Gem, Roll, and Site constants.
Instance Method Summary collapse
- #data_path(match, options = {}) ⇒ Object
- #feature(match, options = {}) ⇒ Object
- #load_path(match, options = {}) ⇒ Object
- #path(match, options = {}) ⇒ Object
- #require_path(match, options = {}) ⇒ Object
Instance Method Details
#data_path(match, options = {}) ⇒ Object
16 17 18 |
# File 'lib/finder.rb', line 16 def data_path(match, ={}) Find.data_path(match, ) end |
#feature(match, options = {}) ⇒ Object
28 29 30 |
# File 'lib/finder.rb', line 28 def feature(match, ={}) Find.feature(match, ) end |
#load_path(match, options = {}) ⇒ Object
20 21 22 |
# File 'lib/finder.rb', line 20 def load_path(match, ={}) Find.load_path(match, ) end |
#path(match, options = {}) ⇒ Object
12 13 14 |
# File 'lib/finder.rb', line 12 def path(match, ={}) Find.path(match, ) end |
#require_path(match, options = {}) ⇒ Object
24 25 26 |
# File 'lib/finder.rb', line 24 def require_path(match, ={}) Find.require_path(match, ) end |