Sha256: fe079f23360a5d8aed1a1de87c1338de4e7916ffed14513d1b5106bf9acb381e
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true module Clowne module Declarations class Finalize < Base # :nodoc: all attr_reader :block def initialize(*, &block) raise ArgumentError, "Block is required for finalize" unless block @block = block end def compile(plan) plan.add(:finalize, self) end end end end Clowne::Declarations.add :finalize, Clowne::Declarations::Finalize
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
clowne-1.5.0 | lib/clowne/declarations/finalize.rb |
clowne-1.4.0 | lib/clowne/declarations/finalize.rb |
clowne-1.3.0 | lib/clowne/declarations/finalize.rb |