class Amber::Router::TerminalSegment(T)
- Amber::Router::TerminalSegment(T)
- Reference
- Object
Defined in:
amber/router/segments/terminal_segment.crConstructors
Instance Method Summary
- #full_path : String
- #full_path=(full_path : String)
- #inspect(*, ts = 0)
- #priority : Int32
- #priority=(priority : Int32)
- #route : T
- #route=(route : T)
-
#to_s(i : IO)
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
Instance Method Detail
def to_s(i : 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>