aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source/gemspec.rb
blob: 05e613277f388f45a52b221f9102b856e8a7a0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true
module Bundler
  class Source
    class Gemspec < Path
      attr_reader :gemspec

      def initialize(options)
        super
        @gemspec = options["gemspec"]
      end

      def as_path_source
        Path.new(options)
      end
    end
  end
end