# File lib/bundler/stub_specification.rb, line 6 def self.from_stub(stub) spec = new(stub.name, stub.version, stub.platform, nil) spec.stub = stub spec end
# File lib/bundler/stub_specification.rb, line 14 def to_yaml _remote_specification.to_yaml end
# File lib/bundler/stub_specification.rb, line 20 def _remote_specification stub.to_spec end