module Deep::Hash::Struct::PP::Dashboard

Public Instance Methods

inspect() click to toggle source
# File lib/deep/hash/struct/pp/dashboard.rb, line 6
def inspect
    "#<#{self.class.name.split("::").last}>"
end
pretty_print(q) click to toggle source
# File lib/deep/hash/struct/pp/dashboard.rb, line 10
def pretty_print(q)
  q.group(2, "#(#{self.class.name}:#{sprintf("0x%x", object_id)} {", "})") do
    q.breakable

    q.group(2, ":tables => [", "]") do
      q.breakable
      q.seplist(tables) do |table|
        q.pp table
      end
      q.breakable
    end

    q.breakable
  end
end