Method: Hanami::Model::Configuration#method_missing

Defined in:
lib/hanami/model/configuration.rb

#method_missing(method_name, *args, &blk) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0



168
169
170
171
172
173
174
# File 'lib/hanami/model/configuration.rb', line 168

def method_missing(method_name, *args, &blk)
  if rom.respond_to?(method_name)
    rom.__send__(method_name, *args, &blk)
  else
    super
  end
end