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
42 43 44 |
# File 'lib/finder.rb', line 42 def data_path(match, ={}) Find.data_path(match, ) end |
#feature(match, options = {}) ⇒ Object
54 55 56 |
# File 'lib/finder.rb', line 54 def feature(match, ={}) Find.feature(match, ) end |
#load_path(match, options = {}) ⇒ Object
46 47 48 |
# File 'lib/finder.rb', line 46 def load_path(match, ={}) Find.load_path(match, ) end |
#path(match, options = {}) ⇒ Object
38 39 40 |
# File 'lib/finder.rb', line 38 def path(match, ={}) Find.path(match, ) end |
#require_path(match, options = {}) ⇒ Object
50 51 52 |
# File 'lib/finder.rb', line 50 def require_path(match, ={}) Find.require_path(match, ) end |