# frozen_string_literal: true

require_relative "gemfile/rails_service"
require_relative "gemfile/services"

##
# @internal
#   Usage example:
#
#   result = ConvenientService::Examples::Rails::V1::Gemfile.format("Gemfile")
#   result = ConvenientService::Examples::Rails::V1::Gemfile.format("spec/cli/gemfile/format/fixtures/Gemfile")
#
module ConvenientService
  module Examples
    module Rails
      module V1
        class Gemfile
          include ConvenientService::Feature

          entry :format do |path|
            Services::Format[path: path]
          end
        end
      end
    end
  end
end