Class: JekyllDictionaries::Generators::Theme
- Inherits:
-
Object
- Object
- JekyllDictionaries::Generators::Theme
- Defined in:
- lib/jekyll-dictionaries/generators/theme.rb
Instance Attribute Summary collapse
-
#site ⇒ Object
readonly
Returns the value of attribute site.
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(site) ⇒ Theme
constructor
A new instance of Theme.
Constructor Details
#initialize(site) ⇒ Theme
Returns a new instance of Theme.
7 8 9 |
# File 'lib/jekyll-dictionaries/generators/theme.rb', line 7 def initialize(site) @site = site end |
Instance Attribute Details
#site ⇒ Object (readonly)
Returns the value of attribute site.
6 7 8 |
# File 'lib/jekyll-dictionaries/generators/theme.rb', line 6 def site @site end |
Instance Method Details
#generate ⇒ Object
11 12 13 14 |
# File 'lib/jekyll-dictionaries/generators/theme.rb', line 11 def generate add_includes add_layouts end |