Class: Array
- Inherits:
-
Object
show all
- Defined in:
- lib/clj/types.rb
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_list ⇒ Object
168
169
170
|
# File 'lib/clj/types.rb', line 168
def to_list
Clojure::List.new(self)
end
|
#to_set ⇒ Object
160
161
162
|
# File 'lib/clj/types.rb', line 160
def to_set
Clojure::Set.new(self)
end
|
#to_vector ⇒ Object
164
165
166
|
# File 'lib/clj/types.rb', line 164
def to_vector
Clojure::Vector.new(self)
end
|