Sha256: 474a5bd4759c1c498943537d8c1cafb02d401156347540f45d7645aefa70b99d
Contents?: true
Size: 219 Bytes
Versions: 2
Compression:
Stored size: 219 Bytes
Contents
module Docxtor2 module BlockEvaluator def evaluate(&block) if block_given? if block.arity == 1 yield self else instance_eval &block end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
docxtor2-0.0.9 | lib/docxtor2/block_evaluator.rb |
docxtor2-0.1.0 | lib/docxtor2/block_evaluator.rb |