aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source/gemspec.rb
blob: 7e3447e7765402116f6c1db8cd96cd34b62cfb41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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