Class: Smogon::Moveset
- Inherits:
-
Object
- Object
- Smogon::Moveset
- Defined in:
- lib/botemon/smogon/moveset.rb
Instance Attribute Summary collapse
-
#abilities ⇒ Object
Returns the value of attribute abilities.
-
#evs ⇒ Object
Returns the value of attribute evs.
-
#items ⇒ Object
Returns the value of attribute items.
-
#ivs ⇒ Object
Returns the value of attribute ivs.
-
#moves ⇒ Object
Returns the value of attribute moves.
-
#name ⇒ Object
Returns the value of attribute name.
-
#natures ⇒ Object
Returns the value of attribute natures.
-
#pokemon ⇒ Object
Returns the value of attribute pokemon.
-
#tier ⇒ Object
Returns the value of attribute tier.
Instance Method Summary collapse
-
#initialize ⇒ Moveset
constructor
A new instance of Moveset.
Constructor Details
#initialize ⇒ Moveset
Returns a new instance of Moveset.
24 25 26 27 28 29 |
# File 'lib/botemon/smogon/moveset.rb', line 24 def initialize @items = [] @abilities = [] @natures = [] @moves = [] end |
Instance Attribute Details
#abilities ⇒ Object
Returns the value of attribute abilities.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def abilities @abilities end |
#evs ⇒ Object
Returns the value of attribute evs.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def evs @evs end |
#items ⇒ Object
Returns the value of attribute items.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def items @items end |
#ivs ⇒ Object
Returns the value of attribute ivs.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def ivs @ivs end |
#moves ⇒ Object
Returns the value of attribute moves.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def moves @moves end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def name @name end |
#natures ⇒ Object
Returns the value of attribute natures.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def natures @natures end |
#pokemon ⇒ Object
Returns the value of attribute pokemon.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def pokemon @pokemon end |
#tier ⇒ Object
Returns the value of attribute tier.
22 23 24 |
# File 'lib/botemon/smogon/moveset.rb', line 22 def tier @tier end |