module Zanzou::WhitelistArrayMethods

Constants

NON_DESTRUCTIVE_ARRAY_METHODS

Public Instance Methods

method_missing(name, *args) click to toggle source
Calls superclass method
# File lib/zanzou/array.rb, line 19
def method_missing(name, *args)
  if NON_DESTRUCTIVE_ARRAY_METHODS.include?(name)
    handle_non_destructive_method_call(name, args)
  else
    super
  end
end