Class: Jekyll::LocalTheme::MockGemSpecification
- Inherits:
-
Object
- Object
- Jekyll::LocalTheme::MockGemSpecification
- Defined in:
- lib/jekyll/local_theme/mock_gem_specification.rb
Overview
The mock for Gem::Specification.
Instance Attribute Summary collapse
-
#full_gem_path ⇒ Object
readonly
Returns the value of attribute full_gem_path.
-
#runtime_dependencies ⇒ Object
readonly
Returns the value of attribute runtime_dependencies.
Instance Method Summary collapse
-
#initialize(full_gem_path, runtime_dependencies) ⇒ MockGemSpecification
constructor
A new instance of MockGemSpecification.
Constructor Details
#initialize(full_gem_path, runtime_dependencies) ⇒ MockGemSpecification
Returns a new instance of MockGemSpecification.
9 10 11 12 |
# File 'lib/jekyll/local_theme/mock_gem_specification.rb', line 9 def initialize(full_gem_path, runtime_dependencies) @full_gem_path = full_gem_path @runtime_dependencies = runtime_dependencies end |
Instance Attribute Details
#full_gem_path ⇒ Object (readonly)
Returns the value of attribute full_gem_path.
7 8 9 |
# File 'lib/jekyll/local_theme/mock_gem_specification.rb', line 7 def full_gem_path @full_gem_path end |
#runtime_dependencies ⇒ Object (readonly)
Returns the value of attribute runtime_dependencies.
7 8 9 |
# File 'lib/jekyll/local_theme/mock_gem_specification.rb', line 7 def runtime_dependencies @runtime_dependencies end |