Module: Transproc::Functions
- Defined in:
- lib/transproc/functions.rb
Overview
Function container extension
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(mod) ⇒ Object
17 18 19 20 |
# File 'lib/transproc/functions.rb', line 17 def self.extended(mod) warn 'Transproc::Functions is deprecated please switch to Transproc::Registry' super end |
Instance Method Details
#method_added(meth) ⇒ Object
22 23 24 25 |
# File 'lib/transproc/functions.rb', line 22 def method_added(meth) module_function meth Transproc.register(meth, method(meth)) end |