Class: RailsAiBridge::Serializers::Providers::Collaborators::RulesNotableGemsBuilder::GemEntries
- Inherits:
-
Object
- Object
- RailsAiBridge::Serializers::Providers::Collaborators::RulesNotableGemsBuilder::GemEntries
- Defined in:
- lib/rails_ai_bridge/serializers/providers/collaborators/rules_notable_gems_builder.rb
Overview
Formats the complete notable gems section.
Instance Method Summary collapse
-
#initialize(gems, section_header, entry_format) ⇒ GemEntries
constructor
A new instance of GemEntries.
-
#to_a ⇒ Array<String>
Formatted section lines.
Constructor Details
#initialize(gems, section_header, entry_format) ⇒ GemEntries
Returns a new instance of GemEntries.
36 37 38 39 40 |
# File 'lib/rails_ai_bridge/serializers/providers/collaborators/rules_notable_gems_builder.rb', line 36 def initialize(gems, section_header, entry_format) @gems = gems @section_header = section_header @entry_format = entry_format end |