lib/hal_client/curie_resolver.rb
# Initialize new CurieResolver
#
# curie_defs - Array of curie definition links (per the HAL spec)
Initialize new CurieResolver
curie_defs - Array of curie definition links (per the HAL spec)
Initialize new CurieResolver curie_defs - Array of curie definition links ( per the HAL spec )
def split_curie(a_curie)
      curie_parts = /(?<ns>[^:]+):(?<short_name>.+)/.match(a_curie)
      if curie_parts
        [curie_parts[:ns], curie_parts[:short_name]]
      else
        [nil,nil]
      end
    end
def split_curie ( a_curie ) curie_parts = / (?<ns>[^:]+):(?<short_name>.+) / . match ( a_curie ) if curie_parts [ curie_parts [ :ns ] , curie_parts [ :short_name ] ] else [ nil , nil ] end end
Initialize new CurieResolver
curie_defs - Array of curie definition links (per the HAL spec)
Initialize new CurieResolver curie_defs - Array of curie definition links ( per the HAL spec )
a_curie
<not_specific>