Module: ZTK::DSL::Base::ClassMethods
- Defined in:
- lib/ztk/dsl/base.rb
Overview
Instance Method Summary (collapse)
-
- (String) inspect
Class Inspect.
Instance Method Details
- (String) inspect
Class Inspect
Inspect the DSL object's class, returning a concise string representation of the class.
144 145 146 147 148 |
# File 'lib/ztk/dsl/base.rb', line 144 def inspect details = Array.new details << "count=#{self.all.count}" if self.all.count > 0 "#<#{self.to_s} #{details.join(', ')}>" end |