class HTML_Table_of_Property_Differences
Public Class Methods
new(arrData,opts={})
click to toggle source
Calls superclass method
HTML_Table::new
# File lib/html_table_of_property_differences.rb, line 6 def initialize(arrData,opts={}) @template = get_template @div = UUIDTools::UUID.random_create arrData = build_json arrData opts = Hash.new opts[:hashSort] = Hash.new opts[:hashSort][:col_number] = 2 opts[:hashSort][:descending] = true opts[:hashFormat] = Hash.new opts[:hashFormat][:type] = 'BarFormat' opts[:hashFormat][:column] = 2 super(arrData,opts) end