Class: NilClass

Inherits:
Object show all
Includes:
NOMS::BashOn
Defined in:
lib/noms/bashon.rb

Instance Method Summary collapse

Methods included from NOMS::BashOn

#name_key

Instance Method Details

#to_bashon(*name) ⇒ Object



303
304
305
306
307
308
309
# File 'lib/noms/bashon.rb', line 303

def to_bashon(*name)
   if name.empty?
      ""
   else
      "unset #{name_key(name)}"
   end
end