Module: Koudoku::Plan
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/concerns/koudoku/plan.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#is_upgrade_from?(plan) ⇒ Boolean
12 13 14 |
# File 'app/concerns/koudoku/plan.rb', line 12 def is_upgrade_from?(plan) (price || 0) >= (plan.price || 0) end |