Class: Para::ModelFieldParsers::Orderable
- Inherits:
-
Base
- Object
- Base
- Para::ModelFieldParsers::Orderable
show all
- Defined in:
- lib/para/model_field_parsers/orderable.rb
Instance Attribute Summary
Attributes inherited from Base
#fields_hash, #model
Instance Method Summary
collapse
Methods inherited from Base
#initialize, register
Instance Method Details
#applicable? ⇒ Boolean
10
11
12
|
# File 'lib/para/model_field_parsers/orderable.rb', line 10
def applicable?
model.orderable?
end
|
#parse! ⇒ Object
6
7
8
|
# File 'lib/para/model_field_parsers/orderable.rb', line 6
def parse!
fields_hash.delete(:position)
end
|