lib/ztk/dsl/base.rb
# Instance Inspect
#
# Inspect the DSL object's instance, returning a concise string
# representation of the instance.
#
# @return [String] A concise string representation of the instance.
Instance Inspect
Inspect the DSL object's instance, returning a concise string
representation of the instance.
Instance Inspect Inspect the DSL object ' s instance returning a concise string representation of the instance .
def inspect
      details = Array.new
      details << "attributes=#{attributes.inspect}" if attributes.count > 0
      details << "has_many_references=#{@has_many_references.count}" if @has_many_references
      details << "belongs_to_references=#{@belongs_to_references.count}" if @belongs_to_references
      "#<#{self.class.to_s} id=#{self.id.inspect} #{details.join(', ')}>"
    end
def inspect details = Array . new details << "attributes=#{attributes.inspect}" if attributes . count > 0 details << "has_many_references=#{@has_many_references.count}" if @has_many_references details << "belongs_to_references=#{@belongs_to_references.count}" if @belongs_to_references "#<#{self.class.to_s} id=#{self.id.inspect} #{details.join(', ')}>" end
Instance Inspect
Inspect the DSL object's instance, returning a concise string
representation of the instance.
Instance Inspect Inspect the DSL object ' s instance returning a concise string representation of the instance .
A concise string representation of the instance.
A concise string representation of the instance .
String