Sha256: cffafd4b46d512ab96311b9732d913d120761f60216548e8354a1f80a93cc10a

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

require 'multidimensional_table/multidimensional_table'

class TestClass
  include MultidimensionalTable

  def dimensions
    { :test_material => [:test_potassium, :coal, :sugar] }
  end

  def data
    table_data do
      coal '8t' 
      sugar '9t' 
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
multidimensional_table-1.1.1 lib/multidimensional_table/test_class.rb
multidimensional_table-1.1.0 lib/multidimensional_table/test_class.rb