Sha256: 2cf6317b8de96c5aa332787b3078fceb345bc2206ae150a8db81eccfe1e3876a
Contents?: true
Size: 699 Bytes
Versions: 9
Compression:
Stored size: 699 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 end end
Version data entries
9 entries across 9 versions & 1 rubygems