class Ontopia::Topicmaps::Topicmap::RowMapper

Public Class Methods

new(&block) click to toggle source
# File lib/ontopia/topicmaps/topicmap.rb, line 145
def initialize(&block)
  @block = block
end

Public Instance Methods

map_row(result, rowno) click to toggle source
# File lib/ontopia/topicmaps/topicmap.rb, line 149
def map_row(result, rowno)
  @block[result.get_value(0), rowno]
end