Sha256: 13f3d177b8ffe3e76ef5ad01abbadc550a9c21f22214b86904508289067202dd
Contents?: true
Size: 792 Bytes
Versions: 2
Compression:
Stored size: 792 Bytes
Contents
module Jelly module Common def jelly_notify_hash(method, *arguments) {"method" => method, "arguments" => arguments} end def jelly_callback_hash(method, *arguments) warn "jelly_callback_hash has been deprecated. Please use jelly_notify_hash instead" jelly_notify_hash(method, *arguments) end def jelly_method_call_hash(object, method, *arguments) {"on" => object, "method" => method, "arguments" => arguments} end def jelly_notify_attach_hash (components=jelly_attachments) {"attach" => components} end def jelly_attachment_hash(component_name, *args) {'component' => component_name, 'arguments' => args} end def jelly_attachment_array(component_name, *args) [component_name, *args] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
honkster-jelly-0.12.0 | lib/jelly/common.rb |
honkster-jelly-0.11.0 | lib/jelly/common.rb |