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 13 14 |
# File 'lib/ccp/commands/core.rb', line 8 def self.included(base) super base.class_eval do extend ClassMethods include Fixturable end end |
Instance Method Details
#inspect ⇒ Object
16 17 18 19 |
# File 'lib/ccp/commands/core.rb', line 16 def inspect klass_name = self.class.name.to_s.split(/::/).last "#<#{klass_name}>" end |