Sha256: f15527db27a6001620c88d5ec7a270103e9d560e27a36849f59f8f005ac8d2ff

Contents?: true

Size: 341 Bytes

Versions: 6

Compression:

Stored size: 341 Bytes

Contents

require 'snaptable/constructor/base_table'

module Snaptable
	module Helpers
		module TableHelper
			class Table < Snaptable::Constructor::BaseTable

				def initialize(parent, model, collection = nil, options = {})
					super(parent, collection, options)
					@model = model
				end

				def model
					@model
				end

			end
		end
	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snaptable-1.1.2 lib/snaptable/helpers/table_helper.rb
snaptable-1.1.1 lib/snaptable/helpers/table_helper.rb
snaptable-1.1.0 lib/snaptable/helpers/table_helper.rb
snaptable-1.0.0 lib/snaptable/helpers/table_helper.rb
snaptable-0.9.3 lib/snaptable/helpers/table_helper.rb
snaptable-0.9.2 lib/snaptable/helpers/table_helper.rb