class Chivi::Node
- Chivi::Node
- Reference
- Object
Defined in:
chivi/node.crConstructors
- .new(key : String, val : String, dic : Int32 = 0)
- .new(key : Char, val : Char, dic : Int32 = 0)
- .new(json : JSON::PullParser)
- .new(chr : Char, dic : Int32 = 0)
Instance Method Summary
- #dic : Int32
- #dic=(dic : Int32)
- #key : String
- #key=(key : String)
- #to_json(json : JSON::Builder)
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #val : String
- #val=(val : String)
Constructor Detail
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>