Class: IfdTools::Configure
- Inherits:
-
Object
- Object
- IfdTools::Configure
- Defined in:
- lib/ifd_tools/configure.rb
Class Method Summary collapse
- .dashboard_graph_color ⇒ Object
- .dashboard_graph_color=(c) ⇒ Object
- .dashboard_graph_main_color ⇒ Object
- .dashboard_graph_main_color=(c) ⇒ Object
- .setup(&block) ⇒ Object
Class Method Details
.dashboard_graph_color ⇒ Object
9 10 11 |
# File 'lib/ifd_tools/configure.rb', line 9 def dashboard_graph_color @@dashboard_graph_color ||= "AFD8F8" end |
.dashboard_graph_color=(c) ⇒ Object
5 6 7 |
# File 'lib/ifd_tools/configure.rb', line 5 def dashboard_graph_color=(c) @@dashboard_graph_color = c end |
.dashboard_graph_main_color ⇒ Object
17 18 19 |
# File 'lib/ifd_tools/configure.rb', line 17 def dashboard_graph_main_color @@dashboard_graph_main_color ||= "114B78" end |
.dashboard_graph_main_color=(c) ⇒ Object
13 14 15 |
# File 'lib/ifd_tools/configure.rb', line 13 def dashboard_graph_main_color=(c) @@dashboard_graph_main_color = c end |
.setup(&block) ⇒ Object
21 22 23 |
# File 'lib/ifd_tools/configure.rb', line 21 def setup(&block) block.call(self) end |