lib/convenient_service/examples/standard/gemfile.rb in convenient_service-0.1.0 vs lib/convenient_service/examples/standard/gemfile.rb in convenient_service-0.2.0
- old
+ new
@@ -1,20 +1,21 @@
# frozen_string_literal: true
require_relative "gemfile/services"
##
-# Usage example:
+# @internal
+# Usage example:
#
-# result = ConvenientService::Examples::Standard::Gemfile.format(path: "Gemfile")
-# result = ConvenientService::Examples::Standard::Gemfile.format(path: "spec/cli/gemfile/format/fixtures/Gemfile")
+# result = ConvenientService::Examples::Standard::Gemfile.format("Gemfile")
+# result = ConvenientService::Examples::Standard::Gemfile.format("spec/cli/gemfile/format/fixtures/Gemfile")
#
module ConvenientService
module Examples
module Standard
module Gemfile
class << self
- def format
+ def format(path)
Services::Format[path: path]
end
end
end
end