class Hocon::Impl::PathParser::Element

Attributes

can_be_empty[RW]
sb[RW]

Public Class Methods

new(initial, can_be_empty) click to toggle source
# File lib/hocon/impl/path_parser.rb, line 24
def initialize(initial, can_be_empty)
  @can_be_empty = can_be_empty
  @sb = StringIO.new(initial)
end

Public Instance Methods

to_string() click to toggle source
# File lib/hocon/impl/path_parser.rb, line 31
def to_string
  "Element(#{@sb.string},#{@can_be_empty})"
end