Class: Clojure::List

Inherits:
Array
  • Object
show all
Includes:
Metadata
Defined in:
lib/clj/types.rb

Instance Method Summary collapse

Methods included from Metadata

#metadata, #metadata=, #metadata_to_clj

Methods inherited from Array

#to_list, #to_set, #to_vector

Instance Method Details

#to_clj(options = {}) ⇒ Object


69
70
71
# File 'lib/clj/types.rb', line 69

def to_clj (options = {})
	(options) + '(' + map { |o| o.to_clj(options) }.join(' ') + ')'
end