lib/rumonade/hash.rb in rumonade-0.4.2 vs lib/rumonade/hash.rb in rumonade-0.4.3

- old
+ new

@@ -25,11 +25,18 @@ # @return [Option] a Some containing the value associated with +key+, or None if not present def get(key) Option(self[key]) end end + + module InstanceOverrides + def can_flatten_in_monad? + false + end + end end end Hash.send(:extend, Rumonade::HashExtensions::ClassMethods) Hash.send(:include, Rumonade::HashExtensions::InstanceMethods) Hash.send(:include, Rumonade::Monad) +Hash.send(:include, Rumonade::HashExtensions::InstanceOverrides)