/extras

Provides patches to stdlib that provide extra/fix methods.

Primary LanguageRubyMIT LicenseMIT

Build Status Test Coverage Code Climate Dependency Status

Ruby Extras

Provides patches to stdlib that provide extra functions.

Array

  • stringify: Stringify an array, skipping allowed objects.
  • symbolize: Symbolize an array, skipping allowed objects.

String

  • split: Split by a character (by default " ")

Hash

  • stringify: Stringify a hash keys and values, skipping allowed objects.
  • symbolize: Symbolize a hash keys and values, skipping allowed objects.
  • stringify_keys: Stringify a hash keys, skipping allowed objects.
  • symbolize_keys: Symbolize a hash keys, skipping allowed objects.
  • deep_merge: Merge hashes into hashes into hashes.