Class: Array

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

Direct Known Subclasses

Clojure::List, Clojure::Vector

Instance Method Summary collapse

Instance Method Details

#to_clj(options = {}) ⇒ Object


197
198
199
# File 'lib/clj/types.rb', line 197

def to_clj (options = {})
	to_vector.to_clj(options)
end

#to_listObject


209
210
211
# File 'lib/clj/types.rb', line 209

def to_list
	Clojure::List.new(self)
end

#to_setObject


201
202
203
# File 'lib/clj/types.rb', line 201

def to_set
	Clojure::Set.new(self)
end

#to_vectorObject


205
206
207
# File 'lib/clj/types.rb', line 205

def to_vector
	Clojure::Vector.new(self)
end