Class: Patm::Match

Inherits:
Object
  • Object
show all
Defined in:
lib/patm.rb

Instance Method Summary collapse

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