Class: WeatherFunds::Lottery::Winner

Inherits:
Struct
  • Object
show all
Defined in:
lib/weather_funds/lottery.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/weather_funds/lottery.rb', line 5

def name
  @name
end

#prizeObject

Returns the value of attribute prize

Returns:

  • (Object)

    the current value of prize



5
6
7
# File 'lib/weather_funds/lottery.rb', line 5

def prize
  @prize
end