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.
213 214 215 216 217 |
# File 'lib/egison/core.rb', line 213 def initialize(pat) super() @quantified = true @pattern = pat end |
Instance Attribute Details
#pattern ⇒ Object
Returns the value of attribute pattern.
211 212 213 |
# File 'lib/egison/core.rb', line 211 def pattern @pattern end |