X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/5d701d44f30948d6d339a8d5806a083bdf76076d..278e6d0afff19cce3ab8ad256c9ab8239bcf6289:/doc/Lyricli.html?ds=sidebyside diff --git a/doc/Lyricli.html b/doc/Lyricli.html index d757eac..cb95933 100644 --- a/doc/Lyricli.html +++ b/doc/Lyricli.html @@ -80,7 +80,7 @@
-56 -57 -58 -59+70 +71 +72 +73 +74 +75 +76 +77
# File 'lib/lyricli.rb', line 56 +# File 'lib/lyricli.rb', line 70 def self.disable(source_name) source_manager = SourceManager.new - source_manager.disable(source_name) + begin + source_manager.disable(source_name) + rescue Exceptions::UnknownSourceError + "There is no such Source" + end end
-50 -51 -52 -53+60 +61 +62 +63 +64 +65 +66 +67
# File 'lib/lyricli.rb', line 50 +# File 'lib/lyricli.rb', line 60 def self.enable(source_name) source_manager = SourceManager.new - source_manager.enable(source_name) + begin + source_manager.enable(source_name) + rescue Exceptions::UnknownSourceError + "There is no such Source" + end end
-30 -31 -32 -33+40 +41 +42 +43
# File 'lib/lyricli.rb', line 30 +# File 'lib/lyricli.rb', line 40 def self.lyrics @lyricli = Lyricli.new @@ -465,17 +481,25 @@ Resets all configuration for a source via the Source Manager-62 -63 -64 -65+80 +81 +82 +83 +84 +85 +86 +87
# File 'lib/lyricli.rb', line 62 +# File 'lib/lyricli.rb', line 80 def self.reset(source_name) source_manager = SourceManager.new - source_manager.reset(source_name) + begin + source_manager.reset(source_name) + rescue Exceptions::UnknownSourceError + "There is no such Source" + end end
-44 -45 -46 -47+54 +55 +56 +57
# File 'lib/lyricli.rb', line 44 +# File 'lib/lyricli.rb', line 54 def self.sources source_manager = SourceManager.new @@ -591,12 +615,12 @@ the version-37 -38 -39+47 +48 +49
# File 'lib/lyricli.rb', line 37 +# File 'lib/lyricli.rb', line 47 def self.version Gem.loaded_specs["lyricli"].version @@ -611,7 +635,7 @@ the version