Module: Jelly::Common
- Included in:
- JellyController, JellyHelper
- Defined in:
- lib/jelly/common.rb
Instance Method Summary collapse
- #jelly_attach_op(component_name, *args) ⇒ Object
- #jelly_attachment_array(component_name, *args) ⇒ Object
- #jelly_attachment_hash(component_name, *args) ⇒ Object
- #jelly_call_op(object, method, *args) ⇒ Object
- #jelly_callback_hash(method, *arguments) ⇒ Object
- #jelly_method_call_hash(object, method, *arguments) ⇒ Object
- #jelly_notify_attach_hash(components = jelly_ops) ⇒ Object
-
#jelly_notify_hash(method, *arguments) ⇒ Object
Old Methods ###.
- #jelly_notify_op(message_name, *args) ⇒ Object
Instance Method Details
#jelly_attach_op(component_name, *args) ⇒ Object
6 7 8 |
# File 'lib/jelly/common.rb', line 6 def jelly_attach_op(component_name, *args) ["attach", component_name, *args] end |
#jelly_attachment_array(component_name, *args) ⇒ Object
40 41 42 |
# File 'lib/jelly/common.rb', line 40 def (component_name, *args) raise Jelly::OldMethodError end |
#jelly_attachment_hash(component_name, *args) ⇒ Object
36 37 38 |
# File 'lib/jelly/common.rb', line 36 def (component_name, *args) raise Jelly::OldMethodError end |
#jelly_call_op(object, method, *args) ⇒ Object
14 15 16 |
# File 'lib/jelly/common.rb', line 14 def jelly_call_op(object, method, *args) ["call", object, method, *args] end |
#jelly_callback_hash(method, *arguments) ⇒ Object
24 25 26 |
# File 'lib/jelly/common.rb', line 24 def jelly_callback_hash(method, *arguments) raise Jelly::OldMethodError end |
#jelly_method_call_hash(object, method, *arguments) ⇒ Object
28 29 30 |
# File 'lib/jelly/common.rb', line 28 def jelly_method_call_hash(object, method, *arguments) raise Jelly::OldMethodError end |
#jelly_notify_attach_hash(components = jelly_ops) ⇒ Object
32 33 34 |
# File 'lib/jelly/common.rb', line 32 def jelly_notify_attach_hash (components=jelly_ops) raise Jelly::OldMethodError end |
#jelly_notify_hash(method, *arguments) ⇒ Object
Old Methods ###
20 21 22 |
# File 'lib/jelly/common.rb', line 20 def jelly_notify_hash(method, *arguments) raise Jelly::OldMethodError end |
#jelly_notify_op(message_name, *args) ⇒ Object
10 11 12 |
# File 'lib/jelly/common.rb', line 10 def jelly_notify_op(, *args) ["notify", , *args] end |