class Hjson::AST::Multiline

Attributes

indent[RW]
triple[RW]

Private Instance Methods

skip_indent() click to toggle source
# File lib/hjson/ast/nodes/multiline.rb, line 57
def skip_indent
  skip = self.indent
  read_while do
    cond = char <= ' ' && !new_line?
    if cond
      result = skip > 0
      skip -= 1
      result
    end
  end
end