Class: Array
- Inherits:
-
Object
show all
- Defined in:
- lib/clj/types.rb
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_list ⇒ Object
209
210
211
|
# File 'lib/clj/types.rb', line 209
def to_list
Clojure::List.new(self)
end
|
#to_set ⇒ Object
201
202
203
|
# File 'lib/clj/types.rb', line 201
def to_set
Clojure::Set.new(self)
end
|
#to_vector ⇒ Object
205
206
207
|
# File 'lib/clj/types.rb', line 205
def to_vector
Clojure::Vector.new(self)
end
|