Class: FalseClass

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



292
293
294
295
296
297
298
# File 'lib/noms/bashon.rb', line 292

def to_bashon(*name)
   if name.empty?
      "false"
   else
      "function #{name_key(name)} { return 1; }"
   end
end