Top Level Namespace

Defined Under Namespace

Modules: Fig Classes: Backtrace, Retriever

Constant Summary collapse

REPOSITORY_CONFIGURATION =
'_meta/figrc'

Instance Method Summary collapse

Instance Method Details

#unparse_statements(indent, prefix, statements, suffix) ⇒ Object



73
74
75
76
# File 'lib/fig/package.rb', line 73

def unparse_statements(indent, prefix, statements, suffix)
  body = @statements.map { |statement| statement.unparse(indent+'  ') }.join("\n")
  return ["\n#{indent}#{prefix}", body, "#{indent}#{suffix}"].join("\n")
end