Module: SlideField

Defined in:
lib/slidefield.rb,
lib/slidefield/errors.rb,
lib/slidefield/version.rb

Defined Under Namespace

Modules: ObjectManager, ObjectRules Classes: Animator, Error, Interpreter, InterpreterError, ObjectData, ParseError, Parser, RuntimeError, Viewer

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.debug(message) ⇒ Object



34
35
36
# File 'lib/slidefield.rb', line 34

def self.debug(message)
  @ondebug[message] if @ondebug
end

.ondebug(&block) ⇒ Object



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

def self.ondebug(&block)
  @ondebug = block
end