Class: Ccp::Receivers::Base

Inherits:
Object
  • Object
show all
Includes:
Data, Commentable, Profileable
Defined in:
lib/ccp/receivers/base.rb

Direct Known Subclasses

Global

Instance Method Summary collapse

Methods included from Commentable

#comment, #comments, #show_comments

Methods included from Profileable

#profile, #profiles, #show_profiles

Methods included from Colorize

#aqua, #blue, #colorize, #green, #pink, #red, #yellow

Methods included from Data

#data, #data?

Instance Method Details

#inspectObject



8
9
10
11
12
# File 'lib/ccp/receivers/base.rb', line 8

def inspect
  klass_name = self.class.name.to_s.split(/::/).last

  "#<Receivers::#{klass_name} data:#{data.inspect}>"
end