Class: OpenBEL::Config::SilentProperties

Inherits:
Properties
  • Object
show all
Defined in:
app/openbel/api/config.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(key, *args, &block) ⇒ Object



181
182
183
184
# File 'app/openbel/api/config.rb', line 181

def method_missing(key, *args, &block)
  return nil unless has_key?(key)
  execute(key, *args, &block)
end