Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/nix/convert.rb

Instance Method Summary collapse

Instance Method Details

#to_nix(indent = 0) ⇒ Object


30
31
32
# File 'lib/nix/convert.rb', line 30

def to_nix(indent = 0)
  "[ " + map(&:to_nix).join(" ") + " ]"
end