Module: DeprecationNotification::StringParser
- Defined in:
- app/models/concerns/deprecation_notification.rb
Instance Method Summary collapse
Instance Method Details
#initialize(template, options = {}) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/models/concerns/deprecation_notification.rb', line 3 def initialize(template, = {}) [:version] = '6.8' if [:version] == '2.0' || [:version] == '2.1' [:version] = '6.9' if [:version] == '2.2' || [:version] == '2.3' [:version] = '6.10' if [:version] == '2.4' || [:version] == '2.5' super(template, ) end |