Class: CanTango::License
- Inherits:
-
Object
- Object
- CanTango::License
- Includes:
- Rules
- Defined in:
- lib/cantango/license.rb,
lib/cantango/license/rules.rb
Defined Under Namespace
Modules: Rules
Instance Attribute Summary collapse
-
#ability ⇒ Object
readonly
Returns the value of attribute ability.
-
#licenses ⇒ Object
readonly
Returns the value of attribute licenses.
Instance Method Summary collapse
- #calc_rules ⇒ Object
- #execute ⇒ Object
-
#initialize(ability) ⇒ License
constructor
A new instance of License.
Methods included from Rules
Constructor Details
#initialize(ability) ⇒ License
Returns a new instance of License.
9 10 11 |
# File 'lib/cantango/license.rb', line 9 def initialize ability @ability = ability end |
Instance Attribute Details
#ability ⇒ Object (readonly)
Returns the value of attribute ability.
7 8 9 |
# File 'lib/cantango/license.rb', line 7 def ability @ability end |
#licenses ⇒ Object (readonly)
Returns the value of attribute licenses.
7 8 9 |
# File 'lib/cantango/license.rb', line 7 def licenses @licenses end |
Instance Method Details
#calc_rules ⇒ Object
13 14 |
# File 'lib/cantango/license.rb', line 13 def calc_rules end |
#execute ⇒ Object
16 17 |
# File 'lib/cantango/license.rb', line 16 def execute end |