lib/motion_vj/helpers/input.rb in motion_vj-0.1.0 vs lib/motion_vj/helpers/input.rb in motion_vj-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
module Input
def self.gets_until_not_blank(input_name = :input)
loop do
value = $stdin.gets.to_s.strip
if value.empty?
- print("Please provide a valid #{input_name}:")
+ print("Please provide a valid #{ input_name }: ")
else
return value
end
end
end