Class: ConvenientService::Examples::Standard::Gemfile::Services::FormatGemsWithoutEnvs
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::Gemfile::Services::FormatGemsWithoutEnvs
- Includes:
- Service::Configs::Standard
- Defined in:
- lib/convenient_service/examples/standard/gemfile/services/format_gems_without_envs.rb
Constant Summary collapse
- EMPTY_LINE =
""
- ENTER =
"\n"
Instance Attribute Summary collapse
-
#parsed_content ⇒ Object
readonly
Returns the value of attribute parsed_content.
Instance Method Summary collapse
-
#initialize(parsed_content:) ⇒ FormatGemsWithoutEnvs
constructor
A new instance of FormatGemsWithoutEnvs.
- #result ⇒ Object
Constructor Details
#initialize(parsed_content:) ⇒ FormatGemsWithoutEnvs
Returns a new instance of FormatGemsWithoutEnvs.
48 49 50 |
# File 'lib/convenient_service/examples/standard/gemfile/services/format_gems_without_envs.rb', line 48 def initialize(parsed_content:) @parsed_content = parsed_content end |
Instance Attribute Details
#parsed_content ⇒ Object (readonly)
Returns the value of attribute parsed_content.
46 47 48 |
# File 'lib/convenient_service/examples/standard/gemfile/services/format_gems_without_envs.rb', line 46 def parsed_content @parsed_content end |
Instance Method Details
#result ⇒ Object
52 53 54 |
# File 'lib/convenient_service/examples/standard/gemfile/services/format_gems_without_envs.rb', line 52 def result success(formatted_content: format_content) end |