Class: Steam::Id::CommunityId
Overview
Represents a 64 bit community ID
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.parse(id) ⇒ Object
Parse a community id from an input.
Instance Method Summary collapse
-
#initialize(id) ⇒ CommunityId
constructor
Create a community id object.
Methods inherited from Base
Constructor Details
#initialize(id) ⇒ CommunityId
Create a community id object
14 15 16 |
# File 'lib/steam/id/community_id.rb', line 14 def initialize(id) super(Struct.new(id)) end |
Class Method Details
.parse(id) ⇒ Object
Parse a community id from an input
9 10 11 |
# File 'lib/steam/id/community_id.rb', line 9 def self.parse(id) new(id) end |