Method: BitClust::NameUtils.split_method_id

Defined in:
lib/bitclust/nameutils.rb

.split_method_id(id) ⇒ Object

private module function



127
128
129
130
131
132
# File 'lib/bitclust/nameutils.rb', line 127

def split_method_id(id)
  @@split_method_id[id] ||= begin
    c, rest = id.split("/")
    [c, *rest.split(%r<[/\.]>, 3)]
  end
end