Method: Runbook.section

Defined in:
lib/runbook.rb

.section(title, &block) ⇒ Object



89
90
91
92
93
94
# File 'lib/runbook.rb', line 89

def self.section(title, &block)
  Configuration.load_config
  Entities::Section.new(title).tap do |section|
    section.dsl.instance_eval(&block)
  end
end