Class: ConvenientService::Examples::Rails::V1::Gemfile::Services::FormatHeader
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Rails::V1::Gemfile::Services::FormatHeader
- Includes:
- RailsService::Config
- Defined in:
- lib/convenient_service/examples/rails/v1/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.
42 |
# File 'lib/convenient_service/examples/rails/v1/gemfile/services/format_header.rb', line 42 attribute :parsed_content |
#result ⇒ Object
45 46 47 |
# File 'lib/convenient_service/examples/rails/v1/gemfile/services/format_header.rb', line 45 def result success(formatted_content: format_content) end |