lib/clowne/declarations/nullify.rb in clowne-1.2.0 vs lib/clowne/declarations/nullify.rb in clowne-1.3.0

- old
+ new

@@ -3,10 +3,10 @@ module Clowne module Declarations class Nullify < Base # :nodoc: all attr_reader :attributes - def initialize(*attributes) + def initialize(*attributes, **) raise ArgumentError, "At least one attribute required" if attributes.empty? @attributes = attributes end