Method: Betterdocs::Generator::Swagger#create_sections
- Defined in:
- lib/betterdocs/generator/swagger.rb
#create_sections(map) ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/betterdocs/generator/swagger.rb', line 56 def create_sections(map) (total: sections.size) sections.values.each do |section| .progress( message: " Section #{section.name.to_s.inspect} %c/%t in %te ETA %e @%E ", force: true ) @only =~ section.name or next if @only map = get_section_data(map, section) end .finish message: ' %t sections created in %te, completed @%E ' .newline self end |