Class: Sort::ScriptSortBuilder::ScriptSortTypes
- Inherits:
-
Object
- Object
- Sort::ScriptSortBuilder::ScriptSortTypes
- Defined in:
- lib/sort/script_sort_builder.rb
Constant Summary collapse
- SCRIPT_SORT_TYPES =
{number: "number", string: "string"}
Instance Attribute Summary collapse
-
#script_sort_type ⇒ Object
readonly
Returns the value of attribute script_sort_type.
Instance Method Summary collapse
-
#initialize(script_type) ⇒ ScriptSortTypes
constructor
A new instance of ScriptSortTypes.
Constructor Details
#initialize(script_type) ⇒ ScriptSortTypes
Returns a new instance of ScriptSortTypes.
76 77 78 |
# File 'lib/sort/script_sort_builder.rb', line 76 def initialize script_type @script_sort_type = script_type end |
Instance Attribute Details
#script_sort_type ⇒ Object (readonly)
Returns the value of attribute script_sort_type.
68 69 70 |
# File 'lib/sort/script_sort_builder.rb', line 68 def script_sort_type @script_sort_type end |