class Officepod::Exception::UnsupportedCommand

Exception raised when using undefined command

Public Class Methods

new(command) click to toggle source
Calls superclass method
# File lib/officepod/exception.rb, line 7
def initialize(command)
  msg = "#{command} command is unsupported!"
  super(msg)
end

Public Instance Methods

to_s() click to toggle source
# File lib/officepod/exception.rb, line 12
def to_s
 "Unsupported Command: #{command}"
end