class
UIng::TM
- UIng::TM
- Reference
- Object
Defined in:
uing/tm.crConstructors
- .new(cstruct : LibUI::TM = LibUI::TM.new)
-
.new(time : Time)
Overloaded constructor: Convert Time to TM
Macro Summary
Instance Method Summary
-
#to_s(io : IO, format : String) : Nil
Delegate to_s to Time for convenient formatting
- #to_s(format : String) : String
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
-
#to_time : Time
Convert TM to Time
- #to_unsafe
- #zone
- #zone=(value : String)
Constructor Detail
Macro Detail
Instance Method Detail
def to_s(io : IO) : Nil
#
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>