Method: ActsAsTable.method_missing

Defined in:
lib/acts_as_table.rb

.method_missing(method_name, *args) {|*args, &block| ... } ⇒ Object

Delegates to ActsAsTable configuration object.

Parameters:

  • method_name (String)
  • args (Array<Object>)

Yields:

  • (*args, &block)

Yield Returns:

  • (Object)

Returns:

  • (Object)

Raises:

  • (NoMethodError)


276
277
278
# File 'lib/acts_as_table.rb', line 276

def self.method_missing(method_name, *args, &block)
  self.config.respond_to?(method_name, false) ? self.config.send(method_name, *args, &block) : super(method_name, *args, &block)
end