Module: AyeCommander::Resultable::Result::ClassMethods

Includes:
Ivar::ClassMethods
Defined in:
lib/aye_commander/resultable.rb

Overview

These methods are extended to the result class

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Ivar::ClassMethods

#at, #define_missing_reader, #eq, #to_ivar, #to_nvar

Instance Attribute Details

#command_classObject (readonly)

Returns the value of attribute command_class


61
62
63
# File 'lib/aye_commander/resultable.rb', line 61

def command_class
  @command_class
end

Instance Method Details

#succeedsObject


64
65
66
# File 'lib/aye_commander/resultable.rb', line 64

def succeeds
  command_class.succeeds
end