lib/tinynews/cli_printer.rb in tinynews-1.0.1 vs lib/tinynews/cli_printer.rb in tinynews-1.0.2
- old
+ new
@@ -6,10 +6,10 @@
def self.print feeds
feeds.each do |feed_object|
puts "\n#{feed_object.title.color(:blue)}:"
feed_object.stories.each do |story|
- puts "-".color(:yellow) + " #{story}"
+ puts "-".color(:yellow) << " #{story}"
end
end
end
end