class DatabaseHelper::SQLRow

Public Class Methods

new(query, row) click to toggle source
# File lib/inspec/utils/database_helpers.rb, line 18
def initialize(query, row)
  @query = query
  @row = row
end

Public Instance Methods

column(column) click to toggle source
# File lib/inspec/utils/database_helpers.rb, line 23
def column(column)
  SQLColumn.new(@row, column)
end
to_s() click to toggle source
# File lib/inspec/utils/database_helpers.rb, line 27
def to_s
  "SQL Row"
end