Module: Licensed::Bundler::LazySpecification
- Included in:
- Bundler::LazySpecification
- Defined in:
- lib/licensed/sources/bundler/missing_specification.rb
Instance Method Summary collapse
Instance Method Details
#__materialize__(*args, **kwargs) ⇒ Object
50 51 52 53 54 55 |
# File 'lib/licensed/sources/bundler/missing_specification.rb', line 50 def __materialize__(*args, **kwargs) spec = super(*args, **kwargs) return spec if spec Licensed::Bundler::MissingSpecification.new(name: name, version: version, platform: platform, source: source) end |
#materialize_for_installation(*args) ⇒ Object
43 44 45 46 47 48 |
# File 'lib/licensed/sources/bundler/missing_specification.rb', line 43 def materialize_for_installation(*args) spec = super(*args) return spec unless spec.is_a?(LazySpecification) Licensed::Bundler::MissingSpecification.new(name: name, version: version, platform: platform, source: source) end |