Module: FastUnderscore

Defined in:
lib/fast_underscore.rb,
lib/fast_underscore/version.rb,
lib/fast_underscore/ext/plain_string.rb,
lib/fast_underscore/ext/acronym_regex.rb,
lib/fast_underscore/ext/acronym_underscore_regex.rb,
ext/fast_underscore/fast_underscore.c

Defined Under Namespace

Modules: AcronymRegex, AcronymUnderscoreRegex, ActiveSupportHook, StringExtension

Constant Summary collapse

VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

.underscore(rb_string) ⇒ Object

A singleton method calls with a string that delegates to ‘str_underscore` to form an underscored, lowercase form from the expression in the string.



388
389
390
391
# File 'ext/fast_underscore/fast_underscore.c', line 388

static VALUE
rb_str_underscore(VALUE self, VALUE rb_string) {
  return str_underscore(rb_string);
}