Exception: Cyperful::AbstractCommand Abstract
- Inherits:
-
StandardError
- Object
- StandardError
- Cyperful::AbstractCommand
- Defined in:
- lib/cyperful/commands.rb
Overview
This class is abstract.
Direct Known Subclasses
Instance Method Summary collapse
- #backtrace ⇒ Object
-
#to_s ⇒ Object
don’t print normal error/backtrace.
Instance Method Details
#backtrace ⇒ Object
10 11 12 |
# File 'lib/cyperful/commands.rb', line 10 def backtrace [] end |
#to_s ⇒ Object
don’t print normal error/backtrace
5 6 7 8 9 |
# File 'lib/cyperful/commands.rb', line 5 def to_s command_name = self.class.name.split("::").last.chomp("Command").underscore "(Captured cyperful command: #{command_name})" end |