Sha256: 97bcd73b71ceae1133e9c98c58e348347868e6712cdac778f52fc57cb3d73167
Contents?: true
Size: 443 Bytes
Versions: 3
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true module Clowne module Declarations class Nullify # :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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
clowne-0.1.0 | lib/clowne/declarations/nullify.rb |
clowne-0.1.0.beta1 | lib/clowne/declarations/nullify.rb |
clowne-0.1.0.pre1 | lib/clowne/declarations/nullify.rb |