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
Animal
Animal
Reference
Object
Overview
Class located in heap :: so its passed by reference
Defined in:
tut/class.cr
Constructors
.new
(name : String)
Instance Method Summary
#getName
: String
#name
: String
#name=
(name)
#setName
(name : String)
Constructor Detail
def self.
new
(name : String)
#
[
View source
]
Instance Method Detail
def
getName
: String
#
[
View source
]
def
name
: String
#
[
View source
]
def
name=
(name)
#
[
View source
]
def
setName
(name : String)
#
[
View source
]