class Kleene::State
- Kleene::State
- Reference
- Object
Defined in:
kleene.crConstructors
Class Method Summary
Instance Method Summary
-
#dup
Returns a shallow copy of this object.
- #error : Bool
- #error=(error : Bool)
-
#error? : Bool
is this an error state?
- #final : Bool
- #final=(final : Bool)
-
#final? : Bool
is this a final state?
- #id : Int32
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Class Method Detail
Instance Method Detail
def dup
#
Description copied from class Reference
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self
into it.
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.