class Mkxms::Mssql::StatisticsHandler

Public Class Methods

new(statistics_objs, node) click to toggle source
# File lib/mkxms/mssql/statistics_handler.rb, line 43
def initialize(statistics_objs, node)
  a = node.attributes
  
  @statistics = Statistics.new(a).tap do |s|
    store_properties_on s
    statistics_objs << s
  end
end

Public Instance Methods

handle_column_element(parse) click to toggle source
# File lib/mkxms/mssql/statistics_handler.rb, line 52
def handle_column_element(parse)
  @statistics.columns << parse.node.attributes['name']
end