Sha256: c5d17acd8a5287fdaa4ad946fa93db89bbe722b970e9a7886f992e5614b82ca4
Contents?: true
Size: 419 Bytes
Versions: 16
Compression:
Stored size: 419 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 = {}) @model = model super(parent, collection, options) end def model @model end def table_name model.model_name.singular end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems