Class: Array
Overview
array
Class Method Summary collapse
-
.rand(n, r = 0) ⇒ Object
Make random value array.
Instance Method Summary collapse
-
#js ⇒ Object
join ‘ ’.
Class Method Details
permalink .rand(n, r = 0) ⇒ Object
Make random value array. length==n
41 42 43 |
# File 'lib/el4r/el4r-sub.rb', line 41 def Array.rand(n, r=0) (1 .. n).collect{super(r)} end |
Instance Method Details
permalink #js ⇒ Object
join ‘ ’
46 47 48 |
# File 'lib/el4r/el4r-sub.rb', line 46 def js join ' ' end |