Sha256: 2ae54e8ec5d2e63cf5d43d517230506863f3f02f3baeed560e436488cf2e6a5d

Contents?: true

Size: 400 Bytes

Versions: 10

Compression:

Stored size: 400 Bytes

Contents

module BerkeleyLibrary
  module TIND
    module Export
      class RowMetrics
        attr_reader :formatted_row_height

        def initialize(formatted_row_height, wrap_columns)
          @formatted_row_height = formatted_row_height
          @wrap_columns = wrap_columns
        end

        def wrap?(col_index)
          @wrap_columns.include?(col_index)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
berkeley_library-tind-0.7.2 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.7.1 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.7.0 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.6.0 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.5.1 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.5.0 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.4.3 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.4.2 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.4.1 lib/berkeley_library/tind/export/row_metrics.rb
berkeley_library-tind-0.4.0 lib/berkeley_library/tind/export/row_metrics.rb