Class: ConvenientService::Examples::Dry::Gemfile::Services::ReadFileContent
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Dry::Gemfile::Services::ReadFileContent
- Includes:
- DryService::Config
- Defined in:
- lib/convenient_service/examples/dry/gemfile/services/read_file_content.rb
Instance Method Summary collapse
Instance Method Details
#result ⇒ Object
23 24 25 |
# File 'lib/convenient_service/examples/dry/gemfile/services/read_file_content.rb', line 23 def result success(content: ::File.read(path)) end |