Class: Inch::Codebase::ObjectsFilter
- Inherits:
-
Object
- Object
- Inch::Codebase::ObjectsFilter
- Defined in:
- lib/inch/codebase/objects_filter.rb
Overview
ObjectsFilter can be used to filter a list of objects by given a set of given options
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(list, options) ⇒ ObjectsFilter
constructor
A new instance of ObjectsFilter.
- #objects ⇒ Object
Constructor Details
#initialize(list, options) ⇒ ObjectsFilter
Returns a new instance of ObjectsFilter.
8 9 10 11 12 |
# File 'lib/inch/codebase/objects_filter.rb', line 8 def initialize(list, ) @list = list @options = filter end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/inch/codebase/objects_filter.rb', line 6 def @options end |
Instance Method Details
#objects ⇒ Object
14 15 16 |
# File 'lib/inch/codebase/objects_filter.rb', line 14 def objects @list end |