Class: Casing::Camel
- Inherits:
-
Object
- Object
- Casing::Camel
- Extended by:
- Casing
- Defined in:
- lib/casing/camel.rb,
lib/casing/camel/hash.rb,
lib/casing/camel/array.rb,
lib/casing/camel/string.rb
Defined Under Namespace
Class Method Summary collapse
Methods included from Casing
!, call, case?, value_cased?
Class Method Details
.match?(val) ⇒ Boolean
5 6 7 |
# File 'lib/casing/camel.rb', line 5 def self.match?(val) (val =~ /^[a-z]/) && !(val =~ /_/) end |