Class: Core::Handler::Compiler
- Inherits:
-
Object
- Object
- Core::Handler::Compiler
- Defined in:
- lib/core/handler/compiler.rb
Overview
- public
Class Method Summary collapse
-
.compile(callable) ⇒ Object
[public].
Class Method Details
.compile(callable) ⇒ Object
- public
11 12 13 14 15 16 17 |
# File 'lib/core/handler/compiler.rb', line 11 def compile(callable) " def trigger(object, event, ...)\n \#{compile_trigger(callable)}\n end\n CODE\nend\n" |