Class: Jekyll::LocalTheme::MockGemSpecification

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll/local_theme/mock_gem_specification.rb

Overview

The mock for Gem::Specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathObject (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_dependenciesObject (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