Module: Ccp::Commands::Core
- Includes:
- Commentable, Executable, Receivable
- Defined in:
- lib/ccp/commands/core.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Executable
Methods included from Commentable
Methods included from Receivable
Class Method Details
.included(base) ⇒ Object
8 9 10 11 12 |
# File 'lib/ccp/commands/core.rb', line 8 def self.included(base) base.class_eval do extend ClassMethods end end |
Instance Method Details
#inspect ⇒ Object
14 15 16 17 |
# File 'lib/ccp/commands/core.rb', line 14 def inspect klass_name = self.class.name.to_s.split(/::/).last "#<#{klass_name}>" end |