Module: Labimotion::Wellplate

Defined in:
lib/labimotion/models/wellplate.rb

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

Delegate class methods to ::Wellplate



26
27
28
29
30
31
32
# File 'lib/labimotion/models/wellplate.rb', line 26

def self.method_missing(method, *args, &block)
  if ::Wellplate.respond_to?(method)
    ::Wellplate.public_send(method, *args, &block)
  else
    super
  end
end

.respond_to_missing?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/labimotion/models/wellplate.rb', line 34

def self.respond_to_missing?(method, include_private = false)
  ::Wellplate.respond_to?(method, include_private) || super
end