Class: PoorManSearch::Criteria
- Inherits:
-
Object
- Object
- PoorManSearch::Criteria
- Defined in:
- lib/poor_man_search/criteria.rb
Instance Attribute Summary collapse
-
#numbers ⇒ Object
Returns the value of attribute numbers.
-
#stringables ⇒ Object
Returns the value of attribute stringables.
-
#strings ⇒ Object
Returns the value of attribute strings.
-
#time_range ⇒ Object
Returns the value of attribute time_range.
-
#times ⇒ Object
Returns the value of attribute times.
Instance Method Summary collapse
-
#initialize(irregularity = nil) ⇒ Criteria
constructor
A new instance of Criteria.
Constructor Details
#initialize(irregularity = nil) ⇒ Criteria
Returns a new instance of Criteria.
7 8 9 |
# File 'lib/poor_man_search/criteria.rb', line 7 def initialize irregularity = nil parse irregularity end |
Instance Attribute Details
#numbers ⇒ Object
Returns the value of attribute numbers.
3 4 5 |
# File 'lib/poor_man_search/criteria.rb', line 3 def numbers @numbers end |
#stringables ⇒ Object
Returns the value of attribute stringables.
3 4 5 |
# File 'lib/poor_man_search/criteria.rb', line 3 def stringables @stringables end |
#strings ⇒ Object
Returns the value of attribute strings.
3 4 5 |
# File 'lib/poor_man_search/criteria.rb', line 3 def strings @strings end |
#time_range ⇒ Object
Returns the value of attribute time_range.
3 4 5 |
# File 'lib/poor_man_search/criteria.rb', line 3 def time_range @time_range end |
#times ⇒ Object
Returns the value of attribute times.
3 4 5 |
# File 'lib/poor_man_search/criteria.rb', line 3 def times @times end |