lib/rash.rb in rash-0.1.1 vs lib/rash.rb in rash-0.2.0
- old
+ new
@@ -21,20 +21,8 @@
gsub(/([a-z\d])([A-Z])/,'\1_\2').
tr("-", "_").
downcase
end
- def convert_value(val, duping=false) #:nodoc:
- obj = super
- obj = self.class.new(obj) if Hashie::Mash === obj
- obj
- end
-
- def initializing_reader(key)
- ck = convert_key(key)
- regular_writer(ck, self.class.new) unless key?(ck)
- regular_reader(ck)
- end
-
end
end