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



42
43
44
# File 'lib/finder.rb', line 42

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

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



54
55
56
# File 'lib/finder.rb', line 54

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

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



46
47
48
# File 'lib/finder.rb', line 46

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

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



38
39
40
# File 'lib/finder.rb', line 38

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

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



50
51
52
# File 'lib/finder.rb', line 50

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