X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/823e558b5cd2ec219d0fc7226c54f2ee7ad807d2..b2ac68932fa671151d3ab3115c565fa9ad06420c:/doc/Lyricli.html?ds=sidebyside diff --git a/doc/Lyricli.html b/doc/Lyricli.html index 8c0685a..cb95933 100644 --- a/doc/Lyricli.html +++ b/doc/Lyricli.html @@ -6,7 +6,7 @@
+The Lyricli module allows you to easily search for lyrics by looking for +song and artist data from diverse sources. +
+ + +- Modules: Sources, Util + Modules: Exceptions, Sources, Util @@ -116,7 +129,32 @@
+Disables a source via the Source Manager. +
++Enables a source via the Source Manager. +
++Creates a new Lyricli instance and returns lyrics by going through the +sources. +
++Resets all configuration for a source via the Source Manager. +
++Returns a list of the available sources to enable or disable. +
++Returns the version of the library. +
++Disables a source via the Source Manager +
+ + +
+ + + +70 +71 +72 +73 +74 +75 +76 +77+ |
+
+ # File 'lib/lyricli.rb', line 70 + +def self.disable(source_name) + source_manager = SourceManager.new + begin + source_manager.disable(source_name) + rescue Exceptions::UnknownSourceError + "There is no such Source" + end +end+ |
+
+Enables a source via the Source Manager +
+ + +
+ + + +60 +61 +62 +63 +64 +65 +66 +67+ |
+
+ # File 'lib/lyricli.rb', line 60 + +def self.enable(source_name) + source_manager = SourceManager.new + begin + source_manager.enable(source_name) + rescue Exceptions::UnknownSourceError + "There is no such Source" + end +end+ |
+
+Creates a new Lyricli instance and returns lyrics by going through the +sources. +
+ +