Repository URL to install this package:
|
Version:
0.2.0.0 ▾
|
module Casing
module Controls
module Array
def self.example
[
'underscore_value',
'PascalValue',
'camelValue',
'Separate words',
'some words'
]
end
def self.not_camel_case
example.delete_if { |e| Casing::Camel.match?(e) }
end
def self.not_underscore_case
example.delete_if { |e| Casing::Underscore.match?(e) }
end
end
end
end