lib/receptacle/interface_methods.rb
# registers a method_name for the to be mediated or forwarded to the configured strategy
#
# @param method_name [String] name of method to register
registers a method_name for the to be mediated or forwarded to the configured strategy
registers a method_name for the to be mediated or forwarded to the configured strategy
def mediate(method_name)
      raise Errors::ReservedMethodName if RESERVED_METHOD_NAMES.include?(method_name)
      Registration.repositories[self].methods << method_name
    end
def mediate ( method_name ) raise Errors :: ReservedMethodName if RESERVED_METHOD_NAMES . include? ( method_name ) Registration . repositories [ self ] . methods << method_name end
registers a method_name for the to be mediated or forwarded to the configured strategy
registers a method_name for the to be mediated or forwarded to the configured strategy
method_name
name of method to register
name of method to register