Class: DMap::Commands

Inherits:
Object
  • Object
show all
Defined in:
lib/dmap/core.rb

Overview

List available commands here

Class Method Summary collapse

Class Method Details

.exists?(command) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/dmap/core.rb', line 20

def self.exists?(command)
  list = %w[ new ].include? command
end