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

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

Defined Under Namespace

Modules: Services Classes: RailsService

Instance Method Summary collapse

Instance Method Details

#format(path) ⇒ Object



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

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