We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3abe672 commit d5e1722Copy full SHA for d5e1722
lib/kitchen/directions/bake_toc.rb
@@ -2,6 +2,7 @@
2
3
module Kitchen
4
module Directions
5
+ # rubocop:disable Metrics/ModuleLength
6
module BakeToc
7
def self.v1(book:, options: { cases: false })
8
options.reverse_merge!(
@@ -190,4 +191,5 @@ def self.li_for_page(page)
190
191
end
192
193
194
+ # rubocop:enable Metrics/ModuleLength
195
lib/recipes/algebra-1/recipe.rb
@@ -92,7 +92,7 @@
92
# )
93
94
95
- chapters_by_type.keys.each do |chapter_selection|
+ chapters_by_type.each_key do |chapter_selection|
96
numbering_options = chapter_numbering_options[chapter_selection]
97
chapters = chapters_by_type[chapter_selection].call
98
chapters.each do |chapter|
0 commit comments