Module: Dallal::AbstractInterface::ClassMethods

Defined in:
lib/dallal/abstract_interface.rb

Instance Method Summary collapse

Instance Method Details

#needs_implementation(name, *args) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/dallal/abstract_interface.rb', line 21

def needs_implementation(name, *args)
  self.class_eval do
    define_method(name) do |*args|
      raise NotImplemented
    end
  end
end