Module: Resourced::Finders::ClassMethods
- Defined in:
- lib/resourced/finders.rb
Instance Attribute Summary collapse
-
#_finders_obj ⇒ Object
readonly
Returns the value of attribute _finders_obj.
Instance Method Summary collapse
Instance Attribute Details
#_finders_obj ⇒ Object (readonly)
Returns the value of attribute _finders_obj.
66 67 68 |
# File 'lib/resourced/finders.rb', line 66 def _finders_obj @_finders_obj end |
Instance Method Details
#default_finder(&block) ⇒ Object
68 69 70 71 |
# File 'lib/resourced/finders.rb', line 68 def default_finder(&block) finders @_default_finders << block if block_given? end |