Module: ModelX::Percentage

Extended by:
ActiveSupport::Concern
Included in:
Mixin
Defined in:
lib/model_x/percentage.rb

Overview

Adds percentage attribute accessors to any object. These are attribute accessors with a ‘_percentage’ suffix which simply accept a number multiplied by 100.

Defined Under Namespace

Modules: ClassMethods