Class: Array

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

Direct Known Subclasses

Clojure::List, Clojure::Set, Clojure::Vector

Instance Method Summary collapse

Instance Method Details

#to_clj(options = {}) ⇒ Object



156
157
158
# File 'lib/clj/types.rb', line 156

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

#to_listObject



168
169
170
# File 'lib/clj/types.rb', line 168

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

#to_setObject



160
161
162
# File 'lib/clj/types.rb', line 160

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

#to_vectorObject



164
165
166
# File 'lib/clj/types.rb', line 164

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