Sha256: 5c12e7044192d217d2fce30420d56d603b83d4ecb87604978bb40cfd281a239b
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
module Smite class ItemEffect < Smite::Object attr_reader :device_name def initialize(item, data) @device_name = item super(DataTransform.transform_item_effect(data)) end def percentage? !percentage.nil? end def inspect "#<Smite::ItemEffect '#{device_name}' #{attribute} +#{amount}#{percentage}>" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smite_ruby-1.4.6 | lib/smite/item_effect.rb |