class FiniteMachine::Const

Public Class Methods

new(name) click to toggle source
# File lib/finite_machine/const.rb, line 5
def initialize(name)
  @name = name.to_s
  freeze
end

Public Instance Methods

inspect()
Alias for: to_s
to_s() click to toggle source
# File lib/finite_machine/const.rb, line 10
def to_s
  @name
end
Also aliased as: to_str, inspect
to_str()
Alias for: to_s