Class: Entitlement::OpenSourceEntry
- Defined in:
- lib/entitlement/opensource_entry.rb
Overview
Docs
Instance Attribute Summary
Attributes inherited from Entry
Instance Method Summary collapse
-
#initialize(modules, from = nil, to = nil, filename_string = nil, &proc) ⇒ OpenSourceEntry
constructor
A new instance of OpenSourceEntry.
- #inspect ⇒ Object
- #valid?(module_name, resources = nil) ⇒ Boolean
Methods inherited from Entry
#days_left, #expiring?, #notify_if_expiring, #purgable?
Constructor Details
#initialize(modules, from = nil, to = nil, filename_string = nil, &proc) ⇒ OpenSourceEntry
Returns a new instance of OpenSourceEntry.
11 12 13 |
# File 'lib/entitlement/opensource_entry.rb', line 11 def initialize(modules, from = nil, to = nil, filename_string = nil, &proc) super(modules, from, to, &proc) end |
Instance Method Details
#inspect ⇒ Object
20 21 22 23 |
# File 'lib/entitlement/opensource_entry.rb', line 20 def inspect super puts 'Entitlement : OpenSource edition. Check http://enterprisemodules.com/ for supported editions.' end |
#valid?(module_name, resources = nil) ⇒ Boolean
15 16 17 18 |
# File 'lib/entitlement/opensource_entry.rb', line 15 def valid?(module_name, resources = nil) Puppet.debug 'Found an Open Source entitlement....' super end |