class HTML5::Span
- HTML5::Span
- Reference
- Object
Overview
Span is a range of bytes in a Tokenizer's buffer. The start is inclusive, the end is exclusive. :nodoc:
Defined in:
html5/token.crConstructors
Instance Method Summary
- #clone
- #end : Int32
- #end=(end __arg0 : Int32)
- #start : Int32
- #start=(start : Int32)
-
#to_s(io : IO) : Nil
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(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>