Sha256: 15a9637c4192db9536a6371ae68498f2b1576ad7bbbc40d53c2bda97096ef0ae

Contents?: true

Size: 339 Bytes

Versions: 9

Compression:

Stored size: 339 Bytes

Contents

module Runbook::Extensions
  module Description
    module DSL
      def description(msg)
        Runbook::Statements::Description.new(msg).tap do |desc|
          parent.add(desc)
        end
      end
    end
  end

  Runbook::Entities::Book::DSL.prepend(Description::DSL)
  Runbook::Entities::Section::DSL.prepend(Description::DSL)
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
careacademy-runbook-1.2.0 lib/runbook/extensions/description.rb
runbook-1.1.0 lib/runbook/extensions/description.rb
runbook-1.0.0 lib/runbook/extensions/description.rb
runbook-0.16.1 lib/runbook/extensions/description.rb
runbook-0.16.0 lib/runbook/extensions/description.rb
runbook-0.15.0 lib/runbook/extensions/description.rb
runbook-0.14.0 lib/runbook/extensions/description.rb
runbook-0.13.0 lib/runbook/extensions/description.rb
runbook-0.12.1 lib/runbook/extensions/description.rb