Class: Danger::Card

Inherits:
Struct
  • Object
show all
Defined in:
lib/favro/card.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id


2
3
4
# File 'lib/favro/card.rb', line 2

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name


2
3
4
# File 'lib/favro/card.rb', line 2

def name
  @name
end