lib/rantly/silly.rb in rantly-0.2.0 vs lib/rantly/silly.rb in rantly-0.3.0
- old
+ new
@@ -8,11 +8,11 @@
end
module Rantly::Silly::Love
def letter(n=3)
- body = sized(n) { array(:paragraph) }.join "\n\n"
+ body = array(n){paragraph}.join "\n\n"
<<-EOS
#{address}:
#{body}
@@ -41,10 +41,10 @@
def how_i_feel
choose "my heart aches","my spine pines","my spirit wanders and wonders","my soul is awed","my loin burns"
end
def paragraph
- sized(range(2,4)) { array(:sentence)}.join " "
+ array(range(2,4)){ sentence}.join " "
end
def sentence
freq \
Proc.new { "when #{how_i_feel}, my #{pedestal_label}, i feel the need to #{stalk_action}, but this is not because #{how_i_feel}, but rather a symptom of my being your #{whoami}." },