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

Instance Method Details

#data_path(match, options = {}) ⇒ Object



16
17
18
# File 'lib/finder.rb', line 16

def data_path(match, options={})
  Find.data_path(match, options)
end

#feature(match, options = {}) ⇒ Object



28
29
30
# File 'lib/finder.rb', line 28

def feature(match, options={})
  Find.feature(match, options)
end

#load_path(match, options = {}) ⇒ Object



20
21
22
# File 'lib/finder.rb', line 20

def load_path(match, options={})
  Find.load_path(match, options)
end

#path(match, options = {}) ⇒ Object



12
13
14
# File 'lib/finder.rb', line 12

def path(match, options={})
  Find.path(match, options)
end

#require_path(match, options = {}) ⇒ Object



24
25
26
# File 'lib/finder.rb', line 24

def require_path(match, options={})
  Find.require_path(match, options)
end