lib/core/array.rb in auser-poolparty-0.1.0 vs lib/core/array.rb in auser-poolparty-0.1.1
- old
+ new
@@ -5,9 +5,12 @@
class Array
# Collection with the index
def collect_with_index &block
self.enum_for(:each_with_index).collect &block
end
- def runnable
- self.join(" \n ").runnable
+ def runnable(quiet=true)
+ self.join(" \n ").runnable(quiet)
+ end
+ def nice_runnable(quiet=true)
+ self.join(" \n ").nice_runnable(quiet)
end
end
\ No newline at end of file