This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Текст поста. | |
*/ | |
var news_text = [ | |
"Всё меньше причин оставаться ВК.. Ждем пока mail group окончательно загонят сайт в яму и переходим на telegram", | |
"Дурову пора создавать новый вконтакте, этот уже испортили", | |
"Прости, Паша, мы все прое*али", | |
"Ну это уже ни в какие рамки", | |
"ВКонтакте окончательно загнулись", | |
"Мда, меилру продолжает губить все, к чему прикасается", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rspec/autorun" | |
class Enumerator::Lazy | |
def reduce(*) | |
Lazy.new([nil]) do |yielder, _| | |
yielder << super | |
end | |
end | |
def join(separator="") |