Class: ConvenientService::Examples::Dry::Gemfile::Services::StripComments

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

Instance Method Summary collapse

Instance Method Details

#resultObject



30
31
32
# File 'lib/convenient_service/examples/dry/gemfile/services/strip_comments.rb', line 30

def result
  success(content_without_comments: file_without_comments.read)
end