Class: Muzak::Config
- Inherits:
-
Object
- Object
- Muzak::Config
- Defined in:
- lib/muzak/config.rb
Class Method Summary collapse
-
.method_missing(method, *args) ⇒ Object
if a key doesn’t exist, assume it’s false.
- .plugin?(pname) ⇒ Boolean
Class Method Details
.method_missing(method, *args) ⇒ Object
if a key doesn’t exist, assume it’s false
26 27 28 |
# File 'lib/muzak/config.rb', line 26 def self.method_missing(method, *args) false end |
.plugin?(pname) ⇒ Boolean
30 31 32 |
# File 'lib/muzak/config.rb', line 30 def self.plugin?(pname) respond_to? "plugin_#{pname}" end |