class Cryplot::Point
- Cryplot::Point
- Reference
- Object
Included Modules
Defined in:
plot/elems/point.crInstance Method Summary
-
#repr : String
returns a string representation of object of some class
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from module Cryplot::PointMixin(Cryplot::Point)
point_repr
point_repr,
point_size(value : Int32)
point_size,
point_type(value : Int32)
point_type
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Point)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Instance Method Detail
def repr : String
#
Description copied from module Cryplot::BaseMixin(Cryplot::Point)
returns a string representation of object of some class
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>