Class: Veeqo::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/veeqo/base.rb

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *arguments, &block) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/veeqo/base.rb', line 6

def self.method_missing(method_name, *arguments, &block)
  if new.respond_to?(method_name, include_private: false)
    new.send(method_name, *arguments, &block)
  else
    super
  end
end