lib/mumukit/assistant/narrator.rb in mumukit-assistant-0.2.0 vs lib/mumukit/assistant/narrator.rb in mumukit-assistant-0.2.1
- old
+ new
@@ -34,11 +34,11 @@
send "explanation_#{selector}_paragraph", tip
end
end
def explanation_opening_paragraph(tip)
- "#{tip.capitalize}."
+ "#{tip.upcase_first}."
end
def explanation_middle_paragraph(tip)
t :middle, tip: tip
end
@@ -62,6 +62,6 @@
end
def self.random_index
(0..2).to_a.sample
end
-end
\ No newline at end of file
+end