Method: BitClust::NameUtils.classname?

Defined in:
lib/bitclust/nameutils.rb

.classname?(str) ⇒ Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/bitclust/nameutils.rb', line 42

def classname?(str)
  (/\A#{CLASS_PATH_RE}\z/o =~ str) ? true : false
end