Module: FunRuby::Array
Overview
Module containing methods for arrays
Class Method Summary collapse
-
.join(string = F._, array = F._) ⇒ String
Returns a string built from elements joined by a given string.
-
.size(array = F._) ⇒ Integer
Returns a size of array.
Instance Method Summary collapse
-
#join(string = F._, array = F._) ⇒ String
Returns a string built from elements joined by a given string.
-
#size(array = F._) ⇒ Integer
Returns a size of array.
Class Method Details
.join(string = F._, array = F._) ⇒ String
Returns a string built from elements joined by a given string
45 46 47 |
# File 'lib/fun_ruby/array.rb', line 45 def join(string = F._, array = F._) curry_implementation(:join, string, array) end |
.size(array = F._) ⇒ Integer
Returns a size of array
29 30 31 |
# File 'lib/fun_ruby/array.rb', line 29 def size(array = F._) curry_implementation(:size, array) end |
Instance Method Details
#join(string = F._, array = F._) ⇒ String
Returns a string built from elements joined by a given string
45 46 47 |
# File 'lib/fun_ruby/array.rb', line 45 def join(string = F._, array = F._) curry_implementation(:join, string, array) end |
#size(array = F._) ⇒ Integer
Returns a size of array
29 30 31 |
# File 'lib/fun_ruby/array.rb', line 29 def size(array = F._) curry_implementation(:size, array) end |