Class: PatternMatch::PatternCollection
- Defined in:
- lib/egison/core.rb
Instance Attribute Summary collapse
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Attributes inherited from Pattern
Instance Method Summary collapse
-
#initialize(pat) ⇒ PatternCollection
constructor
A new instance of PatternCollection.
Methods inherited from Pattern
Constructor Details
#initialize(pat) ⇒ PatternCollection
Returns a new instance of PatternCollection.
306 307 308 309 310 |
# File 'lib/egison/core.rb', line 306 def initialize(pat) super() @quantified = true @pattern = pat end |
Instance Attribute Details
#pattern ⇒ Object
Returns the value of attribute pattern.
304 305 306 |
# File 'lib/egison/core.rb', line 304 def pattern @pattern end |