Skip to content

Commit 6df15e2

Browse files
Use monospace formatting [ci-skip]
1 parent 9521241 commit 6df15e2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

actionmailer/lib/action_mailer/inline_preview_interceptor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module ActionMailer
66
# = Action Mailer \InlinePreviewInterceptor
77
#
88
# Implements a mailer preview interceptor that converts image tag src attributes
9-
# that use inline cid: style URLs to data: style URLs so that they are visible
9+
# that use inline +cid:+ style URLs to +data:+ style URLs so that they are visible
1010
# when previewing an HTML email in a web browser.
1111
#
1212
# This interceptor is enabled by default. To disable it, delete it from the

railties/lib/rails/generators.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ def after_generate_callbacks # :nodoc:
9797
# generator group to fall back to another group in case of missing generators,
9898
# they can add a fallback.
9999
#
100-
# For example, shoulda is considered a test_framework and is an extension
101-
# of test_unit. However, most part of shoulda generators are similar to
102-
# test_unit ones.
100+
# For example, shoulda is considered a +test_framework+ and is an extension
101+
# of +test_unit+. However, most part of shoulda generators are similar to
102+
# +test_unit+ ones.
103103
#
104-
# Shoulda then can tell generators to search for test_unit generators when
104+
# Shoulda then can tell generators to search for +test_unit+ generators when
105105
# some of them are not available by adding a fallback:
106106
#
107107
# Rails::Generators.fallbacks[:shoulda] = :test_unit

railties/lib/rails/generators/actions.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def readme(path)
445445

446446
private
447447
# Define log for backwards compatibility. If just one argument is sent,
448-
# invoke say, otherwise invoke say_status.
448+
# invoke +say+, otherwise invoke +say_status+.
449449
def log(*args) # :doc:
450450
if args.size == 1
451451
say args.first.to_s
@@ -455,7 +455,7 @@ def log(*args) # :doc:
455455
end
456456
end
457457

458-
# Runs the supplied command using either "rake ..." or "rails ..."
458+
# Runs the supplied command using either +rake+ or +rails+
459459
# based on the executor parameter provided.
460460
def execute_command(executor, command, options = {}) # :doc:
461461
log executor, command

0 commit comments

Comments
 (0)