Class: Querly::Pattern::Argument::Expr
- Defined in:
- lib/querly/pattern/argument.rb
Instance Attribute Summary collapse
-
#expr ⇒ Object
readonly
Returns the value of attribute expr.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(expr:, tail:) ⇒ Expr
constructor
A new instance of Expr.
Methods inherited from Base
Constructor Details
#initialize(expr:, tail:) ⇒ Expr
Returns a new instance of Expr.
31 32 33 34 |
# File 'lib/querly/pattern/argument.rb', line 31 def initialize(expr:, tail:) @expr = expr super(tail: tail) end |
Instance Attribute Details
#expr ⇒ Object (readonly)
Returns the value of attribute expr.
29 30 31 |
# File 'lib/querly/pattern/argument.rb', line 29 def expr @expr end |