Sha256: df8f40ea07b7d4fcf90ab1a9a9e33dfdf03f357aa7e1eb15b92646b01d60676d

Contents?: true

Size: 487 Bytes

Versions: 10

Compression:

Stored size: 487 Bytes

Contents

module Roo
  class Excelx
    class Cell
      class String < Cell::Base
        attr_reader :value, :formula, :format, :cell_type, :cell_value, :link, :coordinate

        def initialize(value, formula, style, link, coordinate)
          super(value, formula, nil, style, link, coordinate)
          @type = @cell_type = :string
          @value = link? ? Roo::Link.new(link, value) : value
        end

        def empty?
          value.empty?
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
roo-2.7.1 lib/roo/excelx/cell/string.rb
roo-2.7.0 lib/roo/excelx/cell/string.rb
roo-2.6.0 lib/roo/excelx/cell/string.rb
roo-2.5.1 lib/roo/excelx/cell/string.rb
roo-2.5.0 lib/roo/excelx/cell/string.rb
roo-2.4.0 lib/roo/excelx/cell/string.rb
roo-2.3.2 lib/roo/excelx/cell/string.rb
roo-2.3.1 lib/roo/excelx/cell/string.rb
roo-2.3.0 lib/roo/excelx/cell/string.rb
roo-2.2.0 lib/roo/excelx/cell/string.rb