Class: Katte::Plugins::FileType::Debug

Inherits:
Object
  • Object
show all
Includes:
Katte::Plugins::FileType
Defined in:
lib/katte/plugins/file_type/debug.rb

Defined Under Namespace

Classes: Abort

Instance Method Summary collapse

Methods included from Katte::Plugins::FileType

#convert_variable, #parse, #simple_exec

Methods included from Base

#define_keyword, #find, #included, #index, #plugins, #register

Instance Method Details

#execute(node) ⇒ Object



8
9
10
11
12
13
# File 'lib/katte/plugins/file_type/debug.rb', line 8

def execute(node)
  node.options['callback'].each {|cb| cb.call(node) }
  return true
rescue Abort => e
  return false
end