Class: ConvenientService::Examples::Dry::Gemfile

Inherits:
Object
  • Object
show all
Includes:
Feature::Standard::Config
Defined in:
lib/convenient_service/examples/dry/gemfile.rb,
lib/convenient_service/examples/dry/gemfile/services/format.rb,
lib/convenient_service/examples/dry/gemfile/dry_service/config.rb,
lib/convenient_service/examples/dry/gemfile/services/format_body.rb,
lib/convenient_service/examples/dry/gemfile/services/format_header.rb,
lib/convenient_service/examples/dry/gemfile/services/parse_content.rb,
lib/convenient_service/examples/dry/gemfile/services/strip_comments.rb,
lib/convenient_service/examples/dry/gemfile/services/read_file_content.rb,
lib/convenient_service/examples/dry/gemfile/services/run_shell_command.rb,
lib/convenient_service/examples/dry/gemfile/services/assert_file_exists.rb,
lib/convenient_service/examples/dry/gemfile/services/print_shell_command.rb,
lib/convenient_service/examples/dry/gemfile/services/assert_file_not_empty.rb,
lib/convenient_service/examples/dry/gemfile/services/assert_node_available.rb,
lib/convenient_service/examples/dry/gemfile/services/format_gems_with_envs.rb,
lib/convenient_service/examples/dry/gemfile/services/assert_valid_ruby_syntax.rb,
lib/convenient_service/examples/dry/gemfile/services/format_gems_without_envs.rb,
lib/convenient_service/examples/dry/gemfile/services/assert_npm_package_available.rb

Defined Under Namespace

Modules: Services Classes: DryService

Instance Method Summary collapse

Instance Method Details

#format(path) ⇒ Object



21
22
23
# File 'lib/convenient_service/examples/dry/gemfile.rb', line 21

def format(path)
  Services::Format[path: path]
end