Class: Jekyll::RemoteTheme::MockGemspec

Inherits:
Object
  • Object
show all
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

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_dependenciesObject



16
17
18
# File 'lib/jekyll-remote-theme/mock_gemspec.rb', line 16

def runtime_dependencies
  []
end