Class: Noiseless::AST::Bool
Instance Attribute Summary collapse
-
#filter ⇒ Object
readonly
Returns the value of attribute filter.
-
#must ⇒ Object
readonly
Returns the value of attribute must.
-
#should ⇒ Object
readonly
Returns the value of attribute should.
Instance Method Summary collapse
-
#initialize(must: [], filter: [], should: []) ⇒ Bool
constructor
A new instance of Bool.
Methods inherited from Node
Constructor Details
#initialize(must: [], filter: [], should: []) ⇒ Bool
Returns a new instance of Bool.
8 9 10 11 12 13 |
# File 'lib/noiseless/ast/bool.rb', line 8 def initialize(must: [], filter: [], should: []) super() @must = must @filter = filter @should = should end |
Instance Attribute Details
#filter ⇒ Object (readonly)
Returns the value of attribute filter.
6 7 8 |
# File 'lib/noiseless/ast/bool.rb', line 6 def filter @filter end |
#must ⇒ Object (readonly)
Returns the value of attribute must.
6 7 8 |
# File 'lib/noiseless/ast/bool.rb', line 6 def must @must end |
#should ⇒ Object (readonly)
Returns the value of attribute should.
6 7 8 |
# File 'lib/noiseless/ast/bool.rb', line 6 def should @should end |