Class: InferModel::CommonType
- Inherits:
-
Object
- Object
- InferModel::CommonType
- Extended by:
- Dry::Initializer
- Defined in:
- lib/infer_model/common_type.rb
Instance Method Summary collapse
Instance Method Details
#detected_type ⇒ Object
11 12 13 |
# File 'lib/infer_model/common_type.rb', line 11 def detected_type possible_detected_types.respond_to?(:first) ? possible_detected_types.first : possible_detected_types end |