Module: Gazr

Defined in:
lib/gazr.rb,
lib/gazr/script.rb,
lib/gazr/version.rb,
lib/gazr/controller.rb,
lib/gazr/event_handlers/base.rb,
lib/gazr/event_handlers/unix.rb,
lib/gazr/event_handlers/darwin.rb,
lib/gazr/event_handlers/portable.rb

Defined Under Namespace

Modules: EventHandler Classes: Controller, Script

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.handlerObject

Returns the value of attribute handler.



31
32
33
# File 'lib/gazr.rb', line 31

def handler
  @handler
end

.optionsObject

Returns the value of attribute options.



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

def options
  @options
end

Class Method Details

.debug(msg) ⇒ Object



39
40
41
# File 'lib/gazr.rb', line 39

def debug(msg)
  puts "[gazr debug] #{msg}" if options.debug
end