Sha256: 5279341ffaac778df07764b06037e48c2cd59258bb03dcb17300631ad67fa804
Contents?: true
Size: 453 Bytes
Versions: 19
Compression:
Stored size: 453 Bytes
Contents
require 'tc_helper.rb' class Funk include Axlsx::Accessors include Axlsx::SerializedAttributes serializable_attributes :camel_symbol, :boolean, :integer attr_accessor :camel_symbol, :boolean, :integer end class TestSeralizedAttributes < Test::Unit::TestCase def setup @object = Funk.new end def test_camel_symbol @object.camel_symbol = :foo_bar assert_equal('camelSymbol="fooBar" ', @object.serialized_attributes) end end
Version data entries
19 entries across 19 versions & 6 rubygems