Method: JSI::Base::HashNode#jsi_node_content_hash_pubsend
- Defined in:
-
lib/jsi/base/node.rb,
lib/jsi/base/node.rb
invokes the method with the given name on the jsi_node_content (if defined) or its #to_hash
140 141 142 143 144 145 146 |
# File 'lib/jsi/base/node.rb', line 140 def jsi_node_content_hash_pubsend(method_name, *a, &b) if jsi_node_content.respond_to?(method_name) jsi_node_content.public_send(method_name, *a, &b) else jsi_node_content.to_hash.public_send(method_name, *a, &b) end end |