Module: Commands::CommandMixin

Included in:
Command
Defined in:
lib/gdsh/command_mixin.rb

Overview

Command mixin

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



15
16
17
# File 'lib/gdsh/command_mixin.rb', line 15

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#executeObject



11
12
13
# File 'lib/gdsh/command_mixin.rb', line 11

def execute
  fail 'Method not implemented.'
end