Method: Axlsx::Accessors::ClassMethods#float_attr_accessor

Defined in:
lib/axlsx/util/accessors.rb

#float_attr_accessor(*symbols) ⇒ Object

Creates one or more float (double?) attr_accessors names of the attributes you will add to your class

Parameters:

  • symbols (Array)

    An array of symbols representing the



36
37
38
# File 'lib/axlsx/util/accessors.rb', line 36

def float_attr_accessor(*symbols)
  validated_attr_accessor(symbols, :validate_float)
end