Class: DepartmentFeatureType
- Inherits:
-
Object
- Object
- DepartmentFeatureType
- Includes:
- EnumField::DefineEnum
- Defined in:
- app/models/enums/department_feature_type.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, order_related) ⇒ DepartmentFeatureType
constructor
A new instance of DepartmentFeatureType.
Constructor Details
#initialize(code, order_related) ⇒ DepartmentFeatureType
Returns a new instance of DepartmentFeatureType.
8 9 10 11 |
# File 'app/models/enums/department_feature_type.rb', line 8 def initialize(code, ) @code = code.to_sym @order_related = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
6 7 8 |
# File 'app/models/enums/department_feature_type.rb', line 6 def code @code end |