Sha256: a940f1620a31db7920a5902f4fda69d25baf3a402d37a007541bdf7c0612d4b3
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module Clowne module Declarations class Nullify < Base # :nodoc: all attr_reader :attributes def initialize(*attributes) raise ArgumentError, 'At least one attribute required' if attributes.empty? @attributes = attributes end def compile(plan) plan.add(:nullify, self) end end end end Clowne::Declarations.add :nullify, Clowne::Declarations::Nullify
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clowne-1.1.0 | lib/clowne/declarations/nullify.rb |
clowne-1.0.0 | lib/clowne/declarations/nullify.rb |