module AudioAddict::AutoProperties

Attributes

properties[R]

Public Instance Methods

method_missing(method_sym, *args, &block) click to toggle source
Calls superclass method
# File lib/audio_addict/auto_properties.rb, line 5
def method_missing(method_sym, *args, &block)
  respond_to?(method_sym) ? properties[method_sym.to_s] : super
end
respond_to_missing?(method_sym, _include_private = false) click to toggle source
Calls superclass method
# File lib/audio_addict/auto_properties.rb, line 9
def respond_to_missing?(method_sym, _include_private = false)
  properties.has_key?(method_sym.to_s) || super
end