Class: FilterParam::AST::Literals::String
- Inherits:
-
FilterParam::AST::Literal
- Object
- Node
- FilterParam::AST::Literal
- FilterParam::AST::Literals::String
- Defined in:
- lib/filter_param/ast/literals/string.rb
Instance Attribute Summary
Attributes inherited from FilterParam::AST::Literal
Instance Method Summary collapse
- #data_type ⇒ Object
-
#initialize(value) ⇒ String
constructor
A new instance of String.
Methods inherited from FilterParam::AST::Literal
Methods inherited from Node
Constructor Details
#initialize(value) ⇒ String
Returns a new instance of String.
5 6 7 |
# File 'lib/filter_param/ast/literals/string.rb', line 5 def initialize(value) @value = value.to_s end |
Instance Method Details
#data_type ⇒ Object
9 10 11 |
# File 'lib/filter_param/ast/literals/string.rb', line 9 def data_type :string end |