X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/823e558b5cd2ec219d0fc7226c54f2ee7ad807d2..325501211b5794c982c98d831a7f4ea0f50fe4ae:/doc/Lyricli/Sources/Arguments.html?ds=inline diff --git a/doc/Lyricli/Sources/Arguments.html b/doc/Lyricli/Sources/Arguments.html index da2f0a1..f3678ed 100644 --- a/doc/Lyricli/Sources/Arguments.html +++ b/doc/Lyricli/Sources/Arguments.html @@ -6,7 +6,7 @@ Class: Lyricli::Sources::Arguments - — Documentation by YARD 0.8.1 + — Documentation by YARD 0.8.2.1 @@ -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.
@@ -315,7 +328,6 @@ Instantiates everything it needs to run.
     
       
       
-      
       

@@ -343,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
@@ -393,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.
@@ -435,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
@@ -503,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]
@@ -527,9 +539,9 @@ A hash containing the current `:song` and `:artist`.