class Tumblargh::Node::Base

Public Instance Methods

to_s() click to toggle source
# File lib/tumblargh/node/base.rb, line 14
def to_s
  text_value
end
to_tree() click to toggle source
# File lib/tumblargh/node/base.rb, line 10
def to_tree
  [type, text_value]
end
type() click to toggle source
# File lib/tumblargh/node/base.rb, line 6
def type
  @type ||= self.class.name.split('::').last.to_sym
end