lib/clowne/declarations/nullify.rb in clowne-0.1.0 vs lib/clowne/declarations/nullify.rb in clowne-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Clowne
module Declarations
- class Nullify # :nodoc: all
+ class Nullify < Base # :nodoc: all
attr_reader :attributes
def initialize(*attributes)
raise ArgumentError, 'At least one attribute required' if attributes.empty?
@attributes = attributes