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