Method: JSI::Base::HashNode#jsi_each_child_token

Defined in:
lib/jsi/base/node.rb

#jsi_each_child_token(&block) ⇒ Object

Yields each key - see JSI::Base#jsi_each_child_token



34
35
36
37
38
# File 'lib/jsi/base/node.rb', line 34

def jsi_each_child_token(&block)
  return to_enum(__method__) { jsi_node_content_hash_pubsend(:size) } unless block
  jsi_node_content_hash_pubsend(:each_key, &block)
  nil
end