Class: Relisp::String

Inherits:
Object show all
Defined in:
lib/relisp/type_conversion/programming_types.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_elisp(object) ⇒ Object



308
309
310
# File 'lib/relisp/type_conversion/programming_types.rb', line 308

def self.from_elisp(object)
  new(eval(object[:string]))
end

Instance Method Details

#to_elispObject



312
313
314
# File 'lib/relisp/type_conversion/programming_types.rb', line 312

def to_elisp
  self.dump
end