Class: Wowr::Classes::DodgeParryBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/wowr/character.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ DodgeParryBlock

Returns a new instance of DodgeParryBlock.



650
651
652
653
654
# File 'lib/wowr/character.rb', line 650

def initialize(elem)
	@percent 					= elem[:percent].to_f
	@increase_percent = elem[:increasePercent].to_f
	@rating 					= elem[:rating].to_i
end

Instance Attribute Details

#increase_percentObject (readonly)

Returns the value of attribute increase_percent.



648
649
650
# File 'lib/wowr/character.rb', line 648

def increase_percent
  @increase_percent
end

#percentObject (readonly)

Returns the value of attribute percent.



648
649
650
# File 'lib/wowr/character.rb', line 648

def percent
  @percent
end

#ratingObject (readonly)

Returns the value of attribute rating.



648
649
650
# File 'lib/wowr/character.rb', line 648

def rating
  @rating
end