4242 end
4343
4444 if args . length > 2
45- #TRANSLATORS 'puppet help' is a command line and should not be translated
45+ # TRANSLATORS 'puppet help' is a command line and should not be translated
4646 raise ArgumentError , _ ( "The 'puppet help' command takes two (optional) arguments: a subcommand and an action" )
4747 end
4848
5252 version = options [ :version ]
5353 else
5454 if args . length == 0
55- #TRANSLATORS '--version' is a command line option and should not be translated
55+ # TRANSLATORS '--version' is a command line option and should not be translated
5656 raise ArgumentError , _ ( "Supplying a '--version' only makes sense when a Faces subcommand is given" )
5757 end
5858 end
@@ -211,7 +211,7 @@ def horribly_extract_summary_from(appname)
211211 # depends on the implementation coincidence of how our pages are
212212 # formatted. If we can't match the pattern we expect we return the empty
213213 # string to ensure we don't blow up in the summary. --daniel 2011-04-11
214- while line = help . shift do #rubocop:disable Lint/AssignmentInCondition
214+ while line = help . shift do # rubocop:disable Lint/AssignmentInCondition
215215 md = /^puppet-#{ appname } \( [^\) ]+\) -- (.*)$/ . match ( line )
216216 if md
217217 return md [ 1 ]
@@ -222,15 +222,15 @@ def horribly_extract_summary_from(appname)
222222 # This should absolutely be a private method, but for some reason it appears
223223 # that you can't use the 'private' keyword inside of a Face definition.
224224 # See #14205.
225- #private :horribly_extract_summary_from
225+ # private :horribly_extract_summary_from
226226
227227 def exclude_from_docs? ( appname )
228228 %w{ face_base indirection_base report status } . include? appname
229229 end
230230 # This should absolutely be a private method, but for some reason it appears
231231 # that you can't use the 'private' keyword inside of a Face definition.
232232 # See #14205.
233- #private :exclude_from_docs?
233+ # private :exclude_from_docs?
234234
235235 def is_face_app? ( appname )
236236 clazz = Puppet ::Application . find ( appname )
@@ -240,5 +240,5 @@ def is_face_app?(appname)
240240 # This should probably be a private method, but for some reason it appears
241241 # that you can't use the 'private' keyword inside of a Face definition.
242242 # See #14205.
243- #private :is_face_app?
243+ # private :is_face_app?
244244end
0 commit comments