Class Drydock::UnknownCommand

  1. lib/drydock.rb
Parent: RuntimeError

Methods

public class

  1. new

public instance

  1. message

Attributes

name [R]

Public class methods

new (name)
[show source]
     # File lib/drydock.rb, line 329
329:     def initialize(name)
330:       @name = name || :unknown
331:     end

Public instance methods

message ()
[show source]
     # File lib/drydock.rb, line 332
332:     def message
333:       "Unknown command: #{@name}"
334:     end