Sha256: b50fc325aa000269b8ff01b75616de02008df33543cd2108bc91ce3578edc1dc
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module Clowne module Declarations class Finalize # :nodoc: all attr_reader :block def initialize raise ArgumentError, 'Block is required for finalize' unless block_given? @block = Proc.new 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-0.1.0 | lib/clowne/declarations/finalize.rb |
clowne-0.1.0.beta1 | lib/clowne/declarations/finalize.rb |
clowne-0.1.0.pre1 | lib/clowne/declarations/finalize.rb |