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

Inherits:
Object
  • Object
show all
Includes:
DryService::Config
Defined in:
lib/convenient_service/examples/dry/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



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

def result
  success(formatted_content: format_content)
end