Method: Core::Game::Magic#learn

Defined in:
lib/game/magic.rb

#learn(spell) ⇒ Object



13
14
15
# File 'lib/game/magic.rb', line 13

def learn(spell)
  @learned.push(spell) if !@learned.include?(spell)
end