Class: MPD::Commands::CurrentSong

Inherits:
Abstract
  • Object
show all
Defined in:
lib/mpd/commands/current_song.rb

Overview

Current song info as hash

Instance Attribute Summary

Attributes inherited from Abstract

#connection

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from MPD::Commands::Abstract

Instance Method Details

#executeObject


9
10
11
# File 'lib/mpd/commands/current_song.rb', line 9

def execute
  super('currentsong').to_h
end