lib/vedeu/api/menu.rb in vedeu-0.2.11 vs lib/vedeu/api/menu.rb in vedeu-0.2.12

- old
+ new

@@ -24,10 +24,10 @@ # Return a new instance of Menu. # # @param attributes [Hash] # @return [API::Menu] def initialize(attributes = {}) - @attributes = defaults.merge!(attributes) + @attributes = defaults.merge(attributes) end # @param block [Proc] # @raise [InvalidSyntax] When the required block is not given. # @return [API::Menu]