Class: MPD::Commands::ChangeVolume

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

Overview

Increases/decreases volume by some number

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

#execute(n) ⇒ Object



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

def execute(n)
  super("volume #{n}")
end