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
Methods included from Config
Instance Method Details
#result ⇒ Object
28 29 30 |
# File 'lib/convenient_service/examples/dry/gemfile/services/read_file_content.rb', line 28 def result success(content: ::File.read(path)) end |