Class: ConvenientService::Examples::Rails::Gemfile::Services::ReadFileContent
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Rails::Gemfile::Services::ReadFileContent
- Includes:
- RailsService::Config
- Defined in:
- lib/convenient_service/examples/rails/gemfile/services/read_file_content.rb
Instance Method Summary collapse
Instance Method Details
#result ⇒ Object
19 20 21 |
# File 'lib/convenient_service/examples/rails/gemfile/services/read_file_content.rb', line 19 def result success(content: ::File.read(path)) end |