Class: ConvenientService::Examples::Rails::Gemfile::Services::FormatHeader
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Rails::Gemfile::Services::FormatHeader
- Includes:
- RailsService::Config
- Defined in:
- lib/convenient_service/examples/rails/gemfile/services/format_header.rb
Constant Summary collapse
- FROZEN_STRING_LITERAL =
"# frozen_string_literal: true"
- EMPTY_LINE =
""
- ENTER =
"\n"
Instance Method Summary collapse
-
#parsed_content ⇒ Object
NOTE:
attribute
has nohash
type. - #result ⇒ Object
Instance Method Details
#parsed_content ⇒ Object
NOTE: attribute
has no hash
type.
https://github.com/rails/rails/blob/v7.0.4/activemodel/lib/active_model/type.rb#L42
TODO: Implement custom types.
41 |
# File 'lib/convenient_service/examples/rails/gemfile/services/format_header.rb', line 41 attribute :parsed_content |
#result ⇒ Object
44 45 46 |
# File 'lib/convenient_service/examples/rails/gemfile/services/format_header.rb', line 44 def result success(formatted_content: format_content) end |