Class: Permissions

Inherits:
Hash
  • Object
show all
Defined in:
lib/appswarm/package.rb

Constant Summary collapse

PERMISSIONS =
[:access_net,:access_temp,:run_cron,:run_continously]

Instance Method Summary collapse

Methods inherited from Hash

#map_to_a, #map_to_h, #select, #select_to_a

Constructor Details

#initializePermissions

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