Method: PgMeta::Function#initialize
- Defined in:
- lib/pg_meta/meta.rb
#initialize(schema, name, owner, security) ⇒ Function
Returns a new instance of Function.
541 542 543 544 545 546 547 548 549 550 |
# File 'lib/pg_meta/meta.rb', line 541 def initialize(schema, name, owner, security) super(schema, name) @owner = owner @security = security.to_sym if function? schema.functions[name] = self else schema.procedures[name] = self end end |