class Gammo::Tokenizer::BaseToken
Attributes
attributes[RW]
data[RW]
tag[RW]
Public Class Methods
new(data = '', attributes: [], tag: nil)
click to toggle source
# File lib/gammo/tokenizer/tokens.rb, line 8 def initialize(data = '', attributes: [], tag: nil) @data = data @attributes = attributes @tag = tag end
Public Instance Methods
concat(s)
click to toggle source
# File lib/gammo/tokenizer/tokens.rb, line 14 def concat(s) data << s end