lib/daigaku/views/splash.rb in daigaku-0.3.0 vs lib/daigaku/views/splash.rb in daigaku-0.4.0

- old
+ new

@@ -1,17 +1,15 @@ module Daigaku module Views - class Splash include Views def initialize - title = "DAIGAKU" - subtitle = "Learning the Ruby programming language dead easy." + title = 'DAIGAKU' + subtitle = 'Learning the Ruby programming language dead easy.' + panel = default_window - panel = default_window - lines.times do |line| panel.setpos(line, 0) panel.red(' ' * cols, Curses::A_STANDOUT) end @@ -41,17 +39,17 @@ close_screen end def ruby_ascii_art [ - " ___________ ", - " /.\\ /.\\ /.\\ ", - "/___\\/___\\/___\\", - " \\ \\ . / . / ", - " \\ \\ ./ ./ ", - " \\\\ / / ", - " \\./ " + ' ___________ ', + ' /.\\ /.\\ /.\\ ', + '/___\\/___\\/___\\', + ' \\ \\ . / . / ', + ' \\ \\ ./ ./ ', + ' \\\\ / / ', + ' \\./ ' ] end end end -end \ No newline at end of file +end