Class: Dashy::Base
- Inherits:
-
Object
- Object
- Dashy::Base
- Defined in:
- lib/dashy/base.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
13 14 15 |
# File 'lib/dashy/base.rb', line 13 def self.config @config end |
.enable_with_config(config_file_path) ⇒ Object
4 5 6 7 |
# File 'lib/dashy/base.rb', line 4 def self.enable_with_config config_file_path @config = Dashy::ConfigYml.new config_file_path @enabled = true end |
.enabled? ⇒ Boolean
9 10 11 |
# File 'lib/dashy/base.rb', line 9 def self.enabled? @enabled end |