Class: Muzak::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/muzak/config.rb

Class Method Summary collapse

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

Returns:

  • (Boolean)


30
31
32
# File 'lib/muzak/config.rb', line 30

def self.plugin?(pname)
  respond_to? "plugin_#{pname}"
end