Feature #7226 » add_join_to_set.patch
ChangeLog (working copy) | ||
---|---|---|
Sat Oct 27 17:32:23 2012 Nathan Broadbent <nathan.f77@gmail.com>
|
||
* lib/set.rb: Added #join method as a shortcut for to_a.join
|
||
Sat Oct 27 11:01:10 2012 Koichi Sasada <ko1@atdot.net>
|
||
* numeric.c (rb_float_new_in_heap), include/ruby/ruby.h:
|
lib/set.rb (working copy) | ||
---|---|---|
@hash.keys
|
||
end
|
||
def join(sep = nil)
|
||
to_a.join(sep)
|
||
end
|
||
def flatten_merge(set, seen = Set.new) # :nodoc:
|
||
set.each { |e|
|
||
if e.is_a?(Set)
|
- « Previous
- 1
- 2
- Next »