lib/active_object/hash.rb in active_object-1.0.0 vs lib/active_object/hash.rb in active_object-1.0.1
- old
+ new
@@ -3,10 +3,11 @@
unless method_defined?(:assert_valid_keys)
def assert_valid_keys(*valid_keys)
valid_keys.flatten!
each_key do |k|
unless valid_keys.include?(k)
- raise ArgumentError, "Unknown key: #{k.inspect}. Valid keys are: #{valid_keys.map(&:inspect).join(', ')}"
+ raise ArgumentError,
+ "Unknown key: #{k.inspect}. Valid keys are: #{valid_keys.map(&:inspect).join(', ')}"
end
end
end
end
\ No newline at end of file