class Steam::Id::CommunityId
Represents a 64 bit community ID
Public Class Methods
new(id)
click to toggle source
Create a community id object
Calls superclass method
Steam::Id::Base::new
# File lib/steam/id/community_id.rb, line 14 def initialize(id) super(Struct.new(id)) end
parse(id)
click to toggle source
Parse a community id from an input
@param id [String, Integer] the input id
# File lib/steam/id/community_id.rb, line 9 def self.parse(id) new(id) end