lib/ztk/dsl/base.rb
# 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.
Class Inspect
Inspect the DSL object's class, returning a concise string
representation of the class.
Class Inspect Inspect the DSL object ' s class returning a concise string representation of the class .
def inspect
        details = Array.new
        details << "count=#{self.all.count}" if self.all.count > 0
        "#<#{self.to_s} #{details.join(', ')}>"
      end
def inspect details = Array . new details << "count=#{self.all.count}" if self . all . count > 0 "#<#{self.to_s} #{details.join(', ')}>" end
Class Inspect
Inspect the DSL object's class, returning a concise string
representation of the class.
Class Inspect Inspect the DSL object ' s class returning a concise string representation of the class .
A concise string representation of the class.
A concise string representation of the class .
String