Method: BitClust::NameUtils.method_spec?

Defined in:
lib/bitclust/nameutils.rb

.method_spec?(str) ⇒ Boolean

Returns:

  • (Boolean)


54
55
56
57
# File 'lib/bitclust/nameutils.rb', line 54

def method_spec?(str)
  return false if str == "ARGF.class"
  (/\A#{METHOD_SPEC_RE}\z/o =~ str) ? true : false
end