Sha256: dd3c92223c7a6ed489b90175a147739f367492bff4ce6c60d4d7310ae44e2a8a

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

require 'xmlss/style/base'

module Xmlss::Style
  class NumberFormat

    def self.writer; :number_format; end

    attr_accessor :format

    def initialize(format=nil)
      self.format = format
    end

    def format=(value)
      @format = (value && value.respond_to?(:to_s) ? value.to_s : nil)
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
xmlss-1.0.1 lib/xmlss/style/number_format.rb
xmlss-1.0.0 lib/xmlss/style/number_format.rb
xmlss-1.0.0.rc.4 lib/xmlss/style/number_format.rb
xmlss-1.0.0.rc.3 lib/xmlss/style/number_format.rb
xmlss-1.0.0.rc.2 lib/xmlss/style/number_format.rb
xmlss-1.0.0.rc.1 lib/xmlss/style/number_format.rb