Method: Rabbit::Task::Theme#initialize

Defined in:
lib/rabbit/task/theme.rb

#initialize {|_self| ... } ⇒ Theme

Returns a new instance of Theme.

Yields:

  • (_self)

Yield Parameters:



34
35
36
37
38
39
40
41
42
43
# File 'lib/rabbit/task/theme.rb', line 34

def initialize
  @logger = Logger.default
  @theme = load_theme_configuration
  @spec = nil
  @package_dir = "pkg"
  @pdf_dir = "pdf"
  @required_rabbit_version = ">= 2.0.2"
  yield(self) if block_given?
  define
end