Class: ConvenientService::Examples::Dry::V1::Gemfile::Services::FormatHeader

Inherits:
Object
  • Object
show all
Includes:
DryService::Config
Defined in:
lib/convenient_service/examples/dry/v1/gemfile/services/format_header.rb

Constant Summary collapse

FROZEN_STRING_LITERAL =
"# frozen_string_literal: true"
EMPTY_LINE =
""
ENTER =
"\n"

Instance Method Summary collapse

Instance Method Details

#resultObject



51
52
53
# File 'lib/convenient_service/examples/dry/v1/gemfile/services/format_header.rb', line 51

def result
  success(formatted_content: format_content)
end