Module: Funl::Blobber::JSON_SYM

Defined in:
lib/funl/blobber.rb

Class Method Summary collapse

Class Method Details

.dump(arg) ⇒ Object



15
16
17
# File 'lib/funl/blobber.rb', line 15

def self.dump arg
  JSON.dump arg
end

.load(arg) ⇒ Object



11
12
13
# File 'lib/funl/blobber.rb', line 11

def self.load arg
  JSON.parse arg, symbolize_keys: true
end