Class: PoorManSearch::Criteria

Inherits:
Object
  • Object
show all
Defined in:
lib/poor_man_search/criteria.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#numbersObject

Returns the value of attribute numbers.



3
4
5
# File 'lib/poor_man_search/criteria.rb', line 3

def numbers
  @numbers
end

#stringablesObject

Returns the value of attribute stringables.



3
4
5
# File 'lib/poor_man_search/criteria.rb', line 3

def stringables
  @stringables
end

#stringsObject

Returns the value of attribute strings.



3
4
5
# File 'lib/poor_man_search/criteria.rb', line 3

def strings
  @strings
end

#time_rangeObject

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

#timesObject

Returns the value of attribute times.



3
4
5
# File 'lib/poor_man_search/criteria.rb', line 3

def times
  @times
end