module ZTK::DSL::Base::ClassMethods

@author Zachary Patten <zpatten AT jovelabs DOT io>

Public Instance Methods

inspect() click to toggle source

Class Inspect

Inspect the DSL object's class, returning a concise string representation of the class.

@return [String] A concise string representation of the class.

# 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