lib/inch/cli/command/options/suggest.rb in inch-0.4.10 vs lib/inch/cli/command/options/suggest.rb in inch-0.5.0.rc1
- old
+ new
@@ -24,15 +24,13 @@
end
def descriptions
[
"",
- "Suggests objects and files that can be improved regarding " \
- "their documentation.",
+ "Suggests objects and files that can be improved regarding their documentation.",
"",
- "Example: " +
- "$ inch suggest lib/**/*.rb --pedantic".color(:cyan),
+ "Example: " + "$ inch suggest lib/**/*.rb --pedantic".color(:cyan),
"",
description_hint_grades,
description_hint_arrows
]
end
@@ -44,11 +42,10 @@
opts.separator "Suggest options:"
opts.on("-n", "--objects [COUNT]", "Show COUNT objects") do |count|
@object_count = count.to_i
end
- opts.on("--pedantic",
- "Be excessively concerned with minor details and rules") do
+ opts.on("--pedantic", "Be excessively concerned with minor details and rules") do |count|
# all objects are considered a priority
@object_min_priority = -99
# only objects with the highest score are omitted from the list
@object_max_score = object_max_score - 1
# only A-listers are regarded as 'proper'