Sha256: ea2d36cbc0df44a5f941ab6871a3016f885dae9554179fe897136404f3e4a91a
Contents?: true
Size: 473 Bytes
Versions: 5
Compression:
Stored size: 473 Bytes
Contents
module RESTinPeace class DefinitionProxy class AttributesDefinitions def initialize(target) @target = target end def read(*attributes) @target.send(:attr_reader, *attributes) @target.rip_attributes[:read].concat(attributes) end def write(*attributes) read(*attributes) @target.send(:attr_writer, *attributes) @target.rip_attributes[:write].concat(attributes) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems