Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
helloworld
master
Top Level Namespace
Animal
Bird
Cardinal
Color
Dog
GermanShepard
Helloworld
Helloworld2
Location
MacTruck
Parrot
Vehicle
Generated using Crystal 1.14.0
2024-11-26 08:18:57 UTC
class
Dog
Dog
Reference
Object
Direct Known Subclasses
GermanShepard
Defined in:
tut/class.cr
Constructors
.new
Instance Method Summary
#bark
#height
: Float32
#height=
(height : Float32)
#name
: String
#name=
(name : String)
#weight
: Float32
#weight=
(weight : Float32)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
bark
#
[
View source
]
def
height
: Float32
#
[
View source
]
def
height=
(height : Float32)
#
[
View source
]
def
name
: String
#
[
View source
]
def
name=
(name : String)
#
[
View source
]
def
weight
: Float32
#
[
View source
]
def
weight=
(weight : Float32)
#
[
View source
]