X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/34d0bf15a6f4009de376ceed1d7d5cca24a8dfe7..refs/heads/main:/doc/Lyricli/Sources/Arguments.html diff --git a/doc/Lyricli/Sources/Arguments.html b/doc/Lyricli/Sources/Arguments.html index 6f0be65..f3678ed 100644 --- a/doc/Lyricli/Sources/Arguments.html +++ b/doc/Lyricli/Sources/Arguments.html @@ -99,7 +99,20 @@
+

Overview

+
+

+The arguments source. This one is special since it expects two arguments. +It is treated specially by the SourceManager. +

+ + +
+
+
+ +
@@ -293,12 +306,12 @@ Instantiates everything it needs to run.
 
 
-18
-19
-20
+20 +21 +22 -
# File 'lib/lyricli/sources/arguments.rb', line 18
+      
# File 'lib/lyricli/sources/arguments.rb', line 20
 
 def initialize
   # Nothing to do.
@@ -342,12 +355,12 @@ Returns the value of attribute name
       
 
 
-6
-7
-8
+8 +9 +10
-
# File 'lib/lyricli/sources/arguments.rb', line 6
+      
# File 'lib/lyricli/sources/arguments.rb', line 8
 
 def name
   @name
@@ -392,12 +405,12 @@ source. In the case of Rdio it has to authenticate with OAuth.
       
 
 
-13
-14
-15
+15 +16 +17
-
# File 'lib/lyricli/sources/arguments.rb', line 13
+      
# File 'lib/lyricli/sources/arguments.rb', line 15
 
 def self.enable
   # Nothing to do.
@@ -434,12 +447,12 @@ The reset method resets any configurations it may have
       
 
 
-32
-33
-34
+34 +35 +36
-
# File 'lib/lyricli/sources/arguments.rb', line 32
+      
# File 'lib/lyricli/sources/arguments.rb', line 34
 
 def self.reset
   # Reset Code
@@ -502,14 +515,14 @@ A hash containing the current `:song` and `:artist`.
       
 
 
-25
-26
 27
 28
-29
+29 +30 +31
-
# File 'lib/lyricli/sources/arguments.rb', line 25
+      
# File 'lib/lyricli/sources/arguments.rb', line 27
 
 def current_track
   artist = ARGV[0]
@@ -526,7 +539,7 @@ A hash containing the current `:song` and `:artist`.