Class: Jekyll::Drops::ThemeDrop
- Inherits:
-
Drop
- Object
- Liquid::Drop
- Drop
- Jekyll::Drops::ThemeDrop
show all
- Defined in:
- lib/jekyll/drops/theme_drop.rb
Constant Summary
Constants inherited
from Drop
Drop::NON_CONTENT_METHODS
Instance Method Summary
collapse
Methods inherited from Drop
#[], #[]=, #content_methods, data_delegator, data_delegators, delegate_method, delegate_method_as, delegate_methods, #each, #each_key, #fetch, getter_method_names, #hash_for_json, #initialize, #inspect, #key?, #keys, #merge, #merge!, mutable, mutable?, private_delegate_methods, #to_h, #to_json
Instance Method Details
#authors ⇒ Object
9
10
11
|
# File 'lib/jekyll/drops/theme_drop.rb', line 9
def authors
@authors ||= gemspec.authors.join(", ")
end
|
#description ⇒ Object
17
18
19
|
# File 'lib/jekyll/drops/theme_drop.rb', line 17
def description
@description ||= gemspec.description || gemspec.summary
end
|
21
22
23
|
# File 'lib/jekyll/drops/theme_drop.rb', line 21
def metadata
@metadata ||= gemspec.metadata
end
|
#version ⇒ Object
13
14
15
|
# File 'lib/jekyll/drops/theme_drop.rb', line 13
def version
@version ||= gemspec.version.to_s
end
|