Sha256: c882e8d9049b7d2701ca05a3d356a9be082346ef1d3f51ea0393c92a366b32e3

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

module CsvRowModel
  module ColumnShared
    #
    # row_model
    #
    def context
      row_model.context
    end

    #
    # row_model_class
    #
    def column_index
      row_model_class.index(column_name)
    end

    def options
      row_model_class.columns[column_name]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csv_row_model-1.0.0.beta2 lib/csv_row_model/internal/concerns/column_shared.rb