Class: Querly::Pattern::Kind::Base
- Inherits:
-
Object
- Object
- Querly::Pattern::Kind::Base
- Defined in:
- lib/querly/pattern/kind.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expr ⇒ Object
readonly
Returns the value of attribute expr.
Instance Method Summary collapse
-
#initialize(expr:) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(expr:) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/querly/pattern/kind.rb', line 7 def initialize(expr:) @expr = expr end |
Instance Attribute Details
#expr ⇒ Object (readonly)
Returns the value of attribute expr.
5 6 7 |
# File 'lib/querly/pattern/kind.rb', line 5 def expr @expr end |