Class: ODDB::Analysis::Permission

Inherits:
Object
  • Object
show all
Defined in:
src/model/analysis/permission.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Permission) initialize(specialization, restriction = nil)

A new instance of Permission



12
13
14
15
# File 'src/model/analysis/permission.rb', line 12

def initialize(specialization, restriction=nil)
  @specialization = specialization
  @restriction = restriction
end

Instance Attribute Details

- (Object) restriction (readonly)

Returns the value of attribute restriction



11
12
13
# File 'src/model/analysis/permission.rb', line 11

def restriction
  @restriction
end

- (Object) specialization (readonly)

Returns the value of attribute specialization



11
12
13
# File 'src/model/analysis/permission.rb', line 11

def specialization
  @specialization
end