Class: HTML_Table_of_Property_Differences
- Inherits:
-
HTML_Table
- Object
- HTML_Table
- HTML_Table_of_Property_Differences
- Defined in:
- lib/html_table_of_property_differences.rb
Instance Method Summary collapse
-
#initialize(arrData, opts = {}) ⇒ HTML_Table_of_Property_Differences
constructor
A new instance of HTML_Table_of_Property_Differences.
Methods inherited from HTML_Table
Constructor Details
#initialize(arrData, opts = {}) ⇒ HTML_Table_of_Property_Differences
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# 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 |