mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
19 lines
286 B
Ruby
19 lines
286 B
Ruby
|
# 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
|