/case_agnostic_hash

Hash with Case Insensitive access to fields

Primary LanguageRubyMIT LicenseMIT

WORK IN PROGRESS

case_agnostic_hash

Hash with Case Insensitive access to fields

Installation

gem 'case_agnostic_hash'

And then execute:

$ bundle install

Access your keys formatted in Another World

Available Cases

  • snake_case
  • PascalCase
  • shakeCase
  • kebab-case
  • SCREAMING_SNAKE_CASE
  • Camel_Snake_Case
  • MalFOrmed-Case

As an IDEA Hash can access data and transform it to desired format

Need to think about Design

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/pironim/case_agnostic_hash