Sha256: 4021d0cd4b0037076bed27553d30078501656e684effc01e8507db906199b68c
Contents?: true
Size: 431 Bytes
Versions: 41
Compression:
Stored size: 431 Bytes
Contents
# frozen_string_literal: true require "bundler/remote_specification" module Bundler class StubSpecification < RemoteSpecification def self.from_stub(stub) spec = new(stub.name, stub.version, stub.platform, nil) spec.stub = stub spec end attr_accessor :stub def to_yaml _remote_specification.to_yaml end private def _remote_specification stub.to_spec end end end
Version data entries
41 entries across 41 versions & 2 rubygems