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.
331 332 333 334 335 |
# File 'lib/egison/core.rb', line 331 def initialize(pat) super() @quantified = true @pattern = pat end |
Instance Attribute Details
#pattern ⇒ Object
Returns the value of attribute pattern.
329 330 331 |
# File 'lib/egison/core.rb', line 329 def pattern @pattern end |