Class: JekyllDictionaries::Generators::Theme

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll-dictionaries/generators/theme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#siteObject (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

#generateObject



11
12
13
14
# File 'lib/jekyll-dictionaries/generators/theme.rb', line 11

def generate
  add_includes
  add_layouts
end