Class: YADM::CriteriaParser::ExpressionParser::Attribute
- Inherits:
-
Object
- Object
- YADM::CriteriaParser::ExpressionParser::Attribute
- Includes:
- Operand
- Defined in:
- lib/yadm/criteria_parser/expression_parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Attribute
constructor
A new instance of Attribute.
- #result ⇒ Object
Constructor Details
#initialize(name) ⇒ Attribute
Returns a new instance of Attribute.
67 68 69 |
# File 'lib/yadm/criteria_parser/expression_parser.rb', line 67 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
65 66 67 |
# File 'lib/yadm/criteria_parser/expression_parser.rb', line 65 def name @name end |