module Hocon::Impl::AbstractConfigNode
Public Instance Methods
==(other)
click to toggle source
# File lib/hocon/impl/abstract_config_node.rb, line 20 def ==(other) other.is_a?(Hocon::Impl::AbstractConfigNode) && (render == other.render) end
hash()
click to toggle source
# File lib/hocon/impl/abstract_config_node.rb, line 25 def hash render.hash end
render()
click to toggle source
# File lib/hocon/impl/abstract_config_node.rb, line 12 def render orig_text = StringIO.new tokens.each do |t| orig_text << t.token_text end orig_text.string end
tokens()
click to toggle source
# File lib/hocon/impl/abstract_config_node.rb, line 8 def tokens raise Hocon::ConfigError::ConfigBugOrBrokenError, "subclasses of AbstractConfigNode should override `tokens` (#{self.class})" end