Class: MPD::Commands::SetVolume

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

Overview

Set specific volume to specific value

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/set_volume.rb', line 9

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