Method: Scmd.commands

Defined in:
lib/scmd.rb

.commandsObject

Raises:

  • (NoMethodError)


19
20
21
22
23
24
25
# File 'lib/scmd.rb', line 19

def self.commands
  raise NoMethodError if !ENV['SCMD_TEST_MODE']
  @commands ||= begin
    require 'scmd/stored_commands'
    StoredCommands.new
  end
end