Method: PLSQL::Type#method_missing

Defined in:
lib/plsql/type.rb

#method_missing(method, *args, &block) ⇒ Object

:nodoc:



111
112
113
114
115
116
117
# File 'lib/plsql/type.rb', line 111

def method_missing(method, *args, &block) #:nodoc:
  if procedure = find_procedure(method)
    procedure.exec_with_options(args, {}, &block)
  else
    raise ArgumentError, "No PL/SQL procedure '#{method.to_s.upcase}' found for type '#{@type_name}'"
  end
end