Class: ProMotion::ValueTransformer
- Inherits:
-
Object
- Object
- ProMotion::ValueTransformer
- Defined in:
- lib/ProMotion/XLForm/value_transformer.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.allowsReverseTransformation ⇒ Object
7 8 9 |
# File 'lib/ProMotion/XLForm/value_transformer.rb', line 7 def self.allowsReverseTransformation false end |
.transformedValueClass ⇒ Object
3 4 5 |
# File 'lib/ProMotion/XLForm/value_transformer.rb', line 3 def self.transformedValueClass NSString end |
Instance Method Details
#transformedValue(value) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/ProMotion/XLForm/value_transformer.rb', line 11 def transformedValue(value) return self.transformed_value(value) if self.respond_to?(:transformed_value) return nil if value.nil? # best effort value.inspect end |