class Hocon::Impl::Tokens::Comment::DoubleSlashComment

Public Class Methods

new(origin, text) click to toggle source
Calls superclass method Hocon::Impl::Tokens::Comment.new
# File lib/hocon/impl/tokens.rb, line 204
def initialize(origin, text)
  super(origin, text)
end

Public Instance Methods

token_text() click to toggle source
# File lib/hocon/impl/tokens.rb, line 208
def token_text
  "//" + @text
end