module ActiveNetsuite::MethodInflector

Public Class Methods

included(base) click to toggle source
# File lib/activenetsuite/helpers/method_inflector.rb, line 12
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/activenetsuite/helpers/method_inflector.rb, line 4
def method_missing(method, *args, &block)
  if self.class.inflected_method_valid?(method)
    send self.class.inflected_method(method), *args, &block
  else
    super
  end
end