StackDeck::Frame::Postgres::Function

Public Class Methods

new(conn, language, function, lineno, clue=nil) click to toggle source
# File lib/stackdeck/postgres.rb, line 28
def initialize(conn, language, function, lineno, clue=nil)
  @db_connection = conn
  @language = language
  super(function, nil, lineno, clue)
end

Public Instance Methods

context() click to toggle source
# File lib/stackdeck/postgres.rb, line 33
def context
  @context ||= Context::PgProc.new(@db_connection, function, lineno) if @db_connection
end
context?() click to toggle source
# File lib/stackdeck/postgres.rb, line 36
def context?
  !context.nil?
end
language() click to toggle source
# File lib/stackdeck/postgres.rb, line 39
def language
  @language.gsub(/ function$/, '')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.