Module: EXEL::Value
- Defined in:
- lib/exel/value.rb
Overview
Contains methods to handle remote and local values. Used for Context serialization
Class Method Summary collapse
Class Method Details
.localize(value) ⇒ Object
9 10 11 |
# File 'lib/exel/value.rb', line 9 def self.localize(value) remote?(value) ? download(value) : value end |
.remotize(value) ⇒ Object
5 6 7 |
# File 'lib/exel/value.rb', line 5 def self.remotize(value) file?(value) ? upload(value) : value end |