Class: Patm::Match
- Inherits:
-
Object
- Object
- Patm::Match
- Defined in:
- lib/patm.rb
Instance Method Summary collapse
- #[](i) ⇒ Object
- #[]=(i, val) ⇒ Object
-
#initialize(data = {}) ⇒ Match
constructor
A new instance of Match.
Constructor Details
#initialize(data = {}) ⇒ Match
Returns a new instance of Match.
628 629 630 |
# File 'lib/patm.rb', line 628 def initialize(data = {}) @data = data end |
Instance Method Details
#[](i) ⇒ Object
632 633 634 |
# File 'lib/patm.rb', line 632 def [](i) @data[i] end |
#[]=(i, val) ⇒ Object
636 637 638 |
# File 'lib/patm.rb', line 636 def []=(i, val) @data[i] = val end |