зеркало из https://github.com/github/ruby.git
19 строки
286 B
Ruby
19 строки
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
|