Sha256: c7b5adb3ae7c6a53d2d299d1b89da3258ba0dc43853e4232e220073c4df95ddd
Contents?: true
Size: 346 Bytes
Versions: 10
Compression:
Stored size: 346 Bytes
Contents
module Xsys module Model class PriceList def self.attr_list [:code, :name] end attr_reader *attr_list def initialize(attributes={}) attributes.each do |k, v| self.send("#{k}=", v) if self.respond_to?(k) end end private attr_writer *attr_list end end end
Version data entries
10 entries across 10 versions & 1 rubygems