class String
def prepend_each(separator, value)
-
(String)
-
Parameters:
-
value
(String
) -- -
separator
(String
) --
def prepend_each(separator, value) lines(separator).collect { |x| value + x }.join end
(String)
-
value
(String
)
--
separator
(String
)
--
def prepend_each(separator, value) lines(separator).collect { |x| value + x }.join end