]>
git.r.bdr.sh - rbdr/lyricli.rb/blob - lib/lyricli/sources/arguments.rb
e35aaec6472fabf8379442d02264601f5c177b8e
3 # The arguments source. This one is special since it expects two
4 # arguments. It is treated specially by the SourceManager.
13 # The enable method should run all of the tasks needed to validate
14 # the source. In the case of Rdio it has to authenticate with OAuth.
19 # Instantiates everything it needs to run.
24 # The current_track method should return the name of the current
26 # @return [Hash] A hash containing the current `:song` and `:artist`.
30 {:artist => artist
, :song => song
}
33 # The reset method resets any configurations it may have