Class: Clojure::Vector

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


61
62
63
# File 'lib/clj/types.rb', line 61

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