Class: Oakdex::Pokemon::GrowthEvents::DidEvolution

Inherits:
Base
  • Object
show all
Defined in:
lib/oakdex/pokemon/growth_events/did_evolution.rb

Overview

When pokemon envolved successfully

Instance Method Summary collapse

Methods inherited from Base

#execute, #initialize, #possible_actions, #read_only?, #to_h

Constructor Details

This class inherits a constructor from Oakdex::Pokemon::GrowthEvents::Base

Instance Method Details

#messageObject



7
8
9
# File 'lib/oakdex/pokemon/growth_events/did_evolution.rb', line 7

def message
  "#{@options[:original]} envolved into #{@pokemon.name}."
end