Sha256: f10196ab1f1b08a69bfcd8f2e72e6be7d3778731e57eb7b4eb9faf09a8c681d9
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
module Xsys module Model class JobEvent def self.attr_list [:description] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xsys-0.2.1 | lib/xsys/model/job_event.rb |
xsys-0.2.0 | lib/xsys/model/job_event.rb |