class Steam::Id::Steam3Printer
Attributes
base[R]
Public Class Methods
new(base)
click to toggle source
Creates a new Steam3Printer
object
# File lib/steam/id/steam3_printer.rb, line 8 def initialize(base) @base = base end
Public Instance Methods
print()
click to toggle source
Prints the Steam::Id
in Steam3 format.
@note Only Individual account types are supported
# File lib/steam/id/steam3_printer.rb, line 15 def print "[U:#{instance}:#{account_id}]" end
Private Instance Methods
account_id()
click to toggle source
@api private
# File lib/steam/id/steam3_printer.rb, line 27 def account_id base.account_id end
instance()
click to toggle source
@api private
# File lib/steam/id/steam3_printer.rb, line 22 def instance base.instance end