Top Level Namespace

Defined Under Namespace

Modules: Blower Classes: Object

Instance Method Summary collapse

Instance Method Details

#logObject

Return the logger instance.



108
109
110
# File 'lib/blower/logger.rb', line 108

def log
  Blower::Logger.instance
end

#try(err = nil, &block) ⇒ Object



30
31
32
33
34
# File 'lib/blower/util.rb', line 30

def try (err = nil, &block)
  block.()
rescue
  err
end