Class: Relisp::Float

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

Class Method Summary collapse

Class Method Details

.from_elisp(object) ⇒ Object



95
96
97
# File 'lib/relisp/type_conversion/programming_types.rb', line 95

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