abstract class Amber::Router::Segment(T)
- Amber::Router::Segment(T)
- Reference
- Object
Direct Known Subclasses
Defined in:
amber/router/segment.crConstructors
Class Method Summary
Instance Method Summary
- #inspect(*, ts = 0)
- #literal_match?(curious_segment : String) : Bool
- #match?(curious_segment : String) : Bool
- #parameter : String
- #parametric? : Bool
- #route_set : RouteSet(T)
- #route_set=(route_set : RouteSet(T))
- #segment : String
- #segment=(segment : String)
-
#to_s(i : IO)
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
Class Method 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>