Sha256: aa43aaa74f51a633e0a7b47e11c9e9f278b343c57d6fd7cf8e9af15b78f5db74
Contents?: true
Size: 212 Bytes
Versions: 2
Compression:
Stored size: 212 Bytes
Contents
module Shared class Player attr_accessor :name def initialize(args = {}) @name = args.fetch(:name, "Player 1") post_initialize(args) end def post_initialize(args) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
games_bfox-0.6.0 | lib/games/shared/player.rb |
games_bfox-0.4.0 | lib/games/shared/player.rb |