Class: ConvenientService::Examples::Rails::Gemfile

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

Defined Under Namespace

Modules: Services Classes: RailsService

Instance Method Summary collapse

Instance Method Details

#format(path) ⇒ Object



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

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