Sha256: fa6428772521c0e4db7a839abcfb138c8fcc464f0305d1a8960e1ad99167a74e

Contents?: true

Size: 170 Bytes

Versions: 7

Compression:

Stored size: 170 Bytes

Contents

module Smite
  class Friend < Smite::Object
    def to_player
      Smite::Game.player(name)
    end

    def inspect
      "#<Smite::Friend '#{name}'>"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smite_ruby-1.5.1 lib/smite/friend.rb
smite_ruby-1.5.0 lib/smite/friend.rb
smite_ruby-1.4.9 lib/smite/friend.rb
smite_ruby-1.4.6 lib/smite/friend.rb
smite_ruby-1.4.5 lib/smite/friend.rb
smite_ruby-1.4.3 lib/smite/friend.rb
smite_ruby-1.0.0 lib/smite/friend.rb