group.rb 286 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class DsAdmin::Model::Group include DsAdmin::Model attr_accessor :name, :gid, :members def initialize(args = {}) return if args.empty? super(args) @name = args[:name] @gid = args[:gid] @members = args[:members] ? args[:members] : Array.new end end