Class: ConvenientService::Examples::Rails::V1::Gemfile::Services::FormatGemsWithEnvs

Inherits:
Object
  • Object
show all
Includes:
RailsService::Config
Defined in:
lib/convenient_service/examples/rails/v1/gemfile/services/format_gems_with_envs.rb

Constant Summary collapse

BLOCK_END =
"end"
BLOCK_DO =
"do"
COMMA_WITH_SPACE =
", "
EMPTY_LINE =
""
ENTER =
"\n"
GROUP =
"group"
SPACE =
" "
TAB =
"  "

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parsed_contentObject

Returns the value of attribute parsed_content.



49
50
51
# File 'lib/convenient_service/examples/rails/v1/gemfile/services/format_gems_with_envs.rb', line 49

def parsed_content
  @parsed_content
end

Instance Method Details

#resultObject



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

def result
  success(formatted_content: format_content)
end