Class: ConvenientService::Examples::Standard::V1::Gemfile::Services::FormatGemsWithEnvs
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::V1::Gemfile::Services::FormatGemsWithEnvs
- Includes:
- Service::Configs::Standard::V1
- Defined in:
- lib/convenient_service/examples/standard/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
-
#parsed_content ⇒ Object
readonly
Returns the value of attribute parsed_content.
Instance Method Summary collapse
-
#initialize(parsed_content:) ⇒ FormatGemsWithEnvs
constructor
A new instance of FormatGemsWithEnvs.
- #result ⇒ Object
Constructor Details
#initialize(parsed_content:) ⇒ FormatGemsWithEnvs
Returns a new instance of FormatGemsWithEnvs.
51 52 53 |
# File 'lib/convenient_service/examples/standard/v1/gemfile/services/format_gems_with_envs.rb', line 51 def initialize(parsed_content:) @parsed_content = parsed_content end |
Instance Attribute Details
#parsed_content ⇒ Object (readonly)
Returns the value of attribute parsed_content.
49 50 51 |
# File 'lib/convenient_service/examples/standard/v1/gemfile/services/format_gems_with_envs.rb', line 49 def parsed_content @parsed_content end |
Instance Method Details
#result ⇒ Object
55 56 57 |
# File 'lib/convenient_service/examples/standard/v1/gemfile/services/format_gems_with_envs.rb', line 55 def result success(formatted_content: format_content) end |