class Smite::Ability

Public Instance Methods

inspect() click to toggle source
# File lib/smite/ability.rb, line 21
def inspect
  "#<Smite::Ability '#{summary}'>"
end
name() click to toggle source
# File lib/smite/ability.rb, line 17
def name
  summary
end
number() click to toggle source
# File lib/smite/ability.rb, line 13
def number
  ability_number
end
which() click to toggle source
# File lib/smite/ability.rb, line 3
def which
  case number
  when 1 then '1st Ability'
  when 2 then '2nd Ability'
  when 3 then '3rd Ability'
  when 4 then 'Ultimate'
  when 5 then 'Passive'
  end
end