module Axlsx::Accessors
This module defines some of the more common validating attribute accessors that we use in Axlsx
When this module is included in your class you can simply call
string_attr_access :foo
To generate a new, validating set of accessors for foo.
Public Class Methods
included(base)
click to toggle source
# File lib/axlsx/util/accessors.rb, line 11 def self.included(base) base.send :extend, ClassMethods end