Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
interview
main
Interview
GiftExchange
Gift
Person
Robot
Built with Crystal 1.9.2
2023-10-07 16:22:17 UTC
struct
Interview::GiftExchange::Gift
Interview::GiftExchange::Gift
Struct
Value
Object
Defined in:
interview/gift_exchange.cr
Constructors
.new
(from : Person, to : Person)
Instance Method Summary
#clone
#copy_with
(from _from = @from, to _to = @to)
#from
: Person
#to
: Person
Constructor Detail
def self.
new
(from :
Person
, to :
Person
)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(from _from = @from, to _to = @to)
#
[
View source
]
def
from
:
Person
#
def
to
:
Person
#