Sha256: 9715de507e69ec4ee41f2efc437c0139cd9bddc6f8890cd5dbf1ee4a571fd491

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

module CsvRowModel
  module Model
    module FileModel
      extend ActiveSupport::Concern

      included do
        class << self
          alias_method :row_names, :column_names
          alias_method :rows, :columns
          alias_method :row, :column
          alias_method :is_row_name?, :is_column_name?
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv_row_model-1.0.0.beta1 lib/csv_row_model/model/file_model.rb
csv_row_model-0.4.1 lib/csv_row_model/model/file_model.rb
csv_row_model-0.4.0 lib/csv_row_model/model/file_model.rb