X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/ad84791b951f4ebdfae9c6bf0a54244a8b5c8f16..34d0bf15a6f4009de376ceed1d7d5cca24a8dfe7:/doc/Lyricli/Lyricli.html diff --git a/doc/Lyricli/Lyricli.html b/doc/Lyricli/Lyricli.html index 6d8ed13..090262d 100644 --- a/doc/Lyricli/Lyricli.html +++ b/doc/Lyricli/Lyricli.html @@ -6,7 +6,7 @@
-36 -37 -38+4 +5 +6
# File 'lib/lyricli.rb', line 36 +# File 'lib/lyricli/lyricli.rb', line 4 def initialize @source_manager = SourceManager.new @@ -299,13 +299,13 @@ A new instance of Lyricli-61 -62 -63 -64+29 +30 +31 +32
# File 'lib/lyricli.rb', line 61 +# File 'lib/lyricli/lyricli.rb', line 29 def check_params self.exit_with_error if @current_track[:artist].nil? or @current_track[:artist].empty? @@ -325,21 +325,43 @@ A new instance of Lyricli -
-40 -41 -42+8 +9 +10 |
- # File 'lib/lyricli.rb', line 40 +# File 'lib/lyricli/lyricli.rb', line 8 def exit_with_error - abort "Usage: #{$0} artist song" + raise InvalidLyrics end |
- # File 'lib/lyricli.rb', line 44 +# File 'lib/lyricli/lyricli.rb', line 12 def get_lyrics set_current_track @@ -409,12 +431,12 @@ A new instance of Lyricli-57 -58 -59+25 +26 +27 |
- # File 'lib/lyricli.rb', line 57 +# File 'lib/lyricli/lyricli.rb', line 25 def set_current_track @current_track = @source_manager.current_track @@ -429,9 +451,9 @@ A new instance of Lyricli |