class Maia::Token
Public Class Methods
new(token)
click to toggle source
# File lib/maia/token.rb, line 5 def initialize(token) @token = token end
Public Instance Methods
each(&block)
click to toggle source
# File lib/maia/token.rb, line 9 def each(&block) [self].each(&block) end
to_h()
click to toggle source
# File lib/maia/token.rb, line 17 def to_h { token: @token } end
to_s()
click to toggle source
# File lib/maia/token.rb, line 13 def to_s @token end