lib/virtus/attribute.rb
# Define reader and writer methods for an Attribute
#
# @param [Attribute] attribute
#
# @return [self]
#
# @api private
Define reader and writer methods for an Attribute
Define reader and writer methods for an Attribute
def define_accessor_methods(mod)
      define_reader_method(mod)
      define_writer_method(mod)
      self
    end
def define_accessor_methods ( mod ) define_reader_method ( mod ) define_writer_method ( mod ) self end
Define reader and writer methods for an Attribute
Define reader and writer methods for an Attribute
None
self
mod
<not_specific>
<not_specific>
None
api
None