Class: ODRL::Profile::Prohibition
- Inherits:
-
Rule
- Object
- ProfileElement
- Rule
- ODRL::Profile::Prohibition
- Defined in:
- lib/odrl/profile/builder.rb
Instance Attribute Summary
Attributes inherited from Rule
Attributes inherited from ProfileElement
#definition, #label, #parent_class, #parent_property, #uri
Instance Method Summary collapse
- #build(repo:) ⇒ Object
-
#initialize(disjoints: [], **args) ⇒ Prohibition
constructor
A new instance of Prohibition.
Constructor Details
#initialize(disjoints: [], **args) ⇒ Prohibition
Returns a new instance of Prohibition.
247 248 249 |
# File 'lib/odrl/profile/builder.rb', line 247 def initialize(disjoints: [], **args) super(disjoints: [ODRLV.Permission, ODRLV.Duty].concat(disjoints), **args) end |