lib/nephophobia/role.rb in nephophobia-0.1.1 vs lib/nephophobia/role.rb in nephophobia-0.1.2

- old
+ new

@@ -1,10 +1,14 @@ module Nephophobia class RoleData attr_reader :name - def initialize hash - @name = hash['role'] + attr_accessor :attributes + + def initialize attributes + @attributes = attributes + + @name = attributes['role'] end end class Role DEFAULT = "sysadmin"