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
10 11 12 |
# File 'lib/exel/value.rb', line 10 def self.localize(value) remote?(value) ? download(value) : value end |
.remotize(value) ⇒ Object
6 7 8 |
# File 'lib/exel/value.rb', line 6 def self.remotize(value) file?(value) ? upload(value) : value end |