Class: Permissions
Constant Summary collapse
- PERMISSIONS =
[:access_net,:access_temp,:run_cron,:run_continously]
Instance Method Summary collapse
-
#initialize ⇒ Permissions
constructor
A new instance of Permissions.
Methods inherited from Hash
#map_to_a, #map_to_h, #select, #select_to_a
Constructor Details
#initialize ⇒ Permissions
Returns a new instance of Permissions.
18 19 20 21 |
# File 'lib/appswarm/package.rb', line 18 def initialize super PERMISSIONS.each{|perm|self[perm]=false} end |