Class: RunThisAsync::Callee::Decoder
- Inherits:
-
Object
- Object
- RunThisAsync::Callee::Decoder
- Defined in:
- lib/run_this_async/callee/decoder.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/run_this_async/callee/decoder.rb', line 6 def call if callee.instance_of?(String) return class_from_string elsif callee.instance_of?(RunThisAsync::ActiveRecordPointer) return activerecord_model end callee end |