class Eco::API::Organization::TagTree

def node(key)

Returns:
  • (TagTree, nil) - if the tag `key` is a node, returns that node.

Parameters:
  • key (String) -- parent node of subtree.
def node(key)
  return nil unless tag?(key)
  @hash_tags[key.upcase]
end