Module: Kernel

Defined in:
lib/nitrous/daemon.rb,
lib/nitrous/progress_bar.rb

Instance Method Summary collapse

Instance Method Details

#at_exit(&block) ⇒ Object



14
15
16
# File 'lib/nitrous/daemon.rb', line 14

def at_exit(&block)
  RailsEnv.exit_blocks << block
end

#puts(*args) ⇒ Object



4
5
6
# File 'lib/nitrous/progress_bar.rb', line 4

def puts(*args)
  $stdout.puts(*args)
end