Class: Coco::Theme

Inherits:
Object
  • Object
show all
Defined in:
lib/coco/theme.rb

Overview

A CSS theme for the report.

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Theme

Returns a new instance of Theme.



7
8
9
# File 'lib/coco/theme.rb', line 7

def initialize(name)
  @name = "#{name}.css"
end

Instance Method Details

#filenameObject



11
12
13
# File 'lib/coco/theme.rb', line 11

def filename
  File.join(Coco::ROOT, 'template/css', @name)
end