Class: Jekyll::RemoteTheme::MockGemspec
- Inherits:
-
Object
- Object
- Jekyll::RemoteTheme::MockGemspec
- Extended by:
- Forwardable
- Defined in:
- lib/jekyll-remote-theme/mock_gemspec.rb
Overview
Jekyll::Theme expects the theme’s gemspec to tell it things like the path to the theme and runtime dependencies. MockGemspec serves as a stand in, since remote themes don’t have Gemspecs
Instance Method Summary collapse
-
#initialize(theme) ⇒ MockGemspec
constructor
A new instance of MockGemspec.
- #runtime_dependencies ⇒ Object
Constructor Details
#initialize(theme) ⇒ MockGemspec
Returns a new instance of MockGemspec.
12 13 14 |
# File 'lib/jekyll-remote-theme/mock_gemspec.rb', line 12 def initialize(theme) @theme = theme end |
Instance Method Details
#runtime_dependencies ⇒ Object
16 17 18 |
# File 'lib/jekyll-remote-theme/mock_gemspec.rb', line 16 def runtime_dependencies [] end |