Browse files

add missing requires to Hash and Mash

If the user required the main files with autoloads, these requires
are not needed, but it's good to have them in case the user never
requires the main file, but goes straight to one of the sub-files:

  gem 'hashie'
  require 'hashie/mash'
  • Loading branch information...
mislav committed Aug 26, 2010
1 parent 8d4e599 commit 6cc477c02ece71b45247083b105e5a727dbf97d6
Showing with 4 additions and 0 deletions.
  1. +2 −0 lib/hashie/hash.rb
  2. +2 −0 lib/hashie/mash.rb
@@ -1,3 +1,5 @@
+require 'hashie/hash_extensions'
module Hashie
# A Hashie Hash is simply a Hash that has convenience
# functions baked in such as stringify_keys that may
@@ -1,3 +1,5 @@
+require 'hashie/hash'
module Hashie
# Mash allows you to create pseudo-objects that have method-like
# accessors for hash keys. This is useful for such implementations

0 comments on commit 6cc477c

Please sign in to comment.