Class: Coupdoeil::Popover::Option::Loading
- Inherits:
-
Coupdoeil::Popover::Option
- Object
- Coupdoeil::Popover::Option
- Coupdoeil::Popover::Option::Loading
- Defined in:
- app/models/coupdoeil/popover/option/loading.rb
Constant Summary collapse
- VALUES =
%w[async preload lazy].freeze
Constants inherited from Coupdoeil::Popover::Option
Instance Attribute Summary
Attributes inherited from Coupdoeil::Popover::Option
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Coupdoeil::Popover::Option
inherited, #initialize, into_bits
Constructor Details
This class inherits a constructor from Coupdoeil::Popover::Option
Class Method Details
.parse(value) ⇒ Object
12 |
# File 'app/models/coupdoeil/popover/option/loading.rb', line 12 def parse(value) = VALUES.index(value.to_s) |
Instance Method Details
#validate! ⇒ Object
15 |
# File 'app/models/coupdoeil/popover/option/loading.rb', line 15 def validate! = validate_inclusion! |