Class: SQLSearch::Atoms::InValues
- Inherits:
-
Object
- Object
- SQLSearch::Atoms::InValues
- Defined in:
- lib/sql_search_parser.rb
Instance Attribute Summary collapse
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(options) ⇒ InValues
constructor
A new instance of InValues.
- #to_s ⇒ Object
Constructor Details
#initialize(options) ⇒ InValues
Returns a new instance of InValues.
66 67 68 |
# File 'lib/sql_search_parser.rb', line 66 def initialize @values = [:values] end |
Instance Attribute Details
#values ⇒ Object (readonly)
Returns the value of attribute values.
65 66 67 |
# File 'lib/sql_search_parser.rb', line 65 def values @values end |
Instance Method Details
#to_s ⇒ Object
70 71 72 |
# File 'lib/sql_search_parser.rb', line 70 def to_s "(#{values.join(', ')})" end |