Sha256: e1a1d2c649cdaa7a88eb6c6e27ac33d19581df0a89888e0e1c7a2be7fe3cf13e
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
module TurnipFormatter class Step module DSL # # @param [TurnipFormatter::Step] step # def extended(step) ::TurnipFormatter::Step.templates[status].each do |style, block| step.docs[style] = step.instance_eval(&block) end end def add_template(style, &block) ::TurnipFormatter::Step.add_template(status, style, &block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
turnip_formatter-0.0.2 | lib/turnip_formatter/step/dsl.rb |