Skip to content

Commit

Permalink
Add comments to module AnnotateRoutes and nested classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nard-tech committed Feb 9, 2024
1 parent 31b705d commit 50b50bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/annotate/annotate_routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
require_relative './annotate_routes/annotation_processor'
require_relative './annotate_routes/removal_processor'

# This module provides methods for annotating config/routes.rb.
module AnnotateRoutes
class << self
# @param options [Hash]
Expand Down
2 changes: 2 additions & 0 deletions lib/annotate/annotate_routes/header_generator.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require_relative './magic_comments_extractor'

# This module provides methods for annotating config/routes.rb.
module AnnotateRoutes
# This class processes result of `rake routes` and generate content enbeded in config/routes.rb.
class HeaderGenerator
PREFIX = '== Route Map'.freeze
PREFIX_MD = '## Route Map'.freeze
Expand Down

0 comments on commit 50b50bb

Please sign in to comment.