Class: Journey::NFA::MatchData

Inherits:
Object
  • Object
show all
Defined in:
lib/journey/nfa/simulator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(memos) ⇒ MatchData

Returns a new instance of MatchData.



8
9
10
# File 'lib/journey/nfa/simulator.rb', line 8

def initialize memos
  @memos = memos
end

Instance Attribute Details

#memosObject (readonly)

Returns the value of attribute memos.



6
7
8
# File 'lib/journey/nfa/simulator.rb', line 6

def memos
  @memos
end