Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
casing / lib / casing / controls / array.rb
Size: Mime:
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