Class: RegularExpression::NFA::Transition::Any

Inherits:
Struct
  • Object
show all
Defined in:
lib/regular_expression/nfa.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



68
69
70
# File 'lib/regular_expression/nfa.rb', line 68

def state
  @state
end

Instance Method Details

#labelObject



69
70
71
# File 'lib/regular_expression/nfa.rb', line 69

def label
  "."
end