Method: Monster#initialize
- Defined in:
- lib/add_monster.rb
#initialize(name, location, description) ⇒ Monster
Returns a new instance of Monster.
4 5 6 7 8 |
# File 'lib/add_monster.rb', line 4 def initialize(name, location, description) @name = name @location = location @description = description end |