class DTK::Client::ViewPrettyPrintHash

Attributes

object_type[RW]

Public Class Methods

new(object_type=nil) click to toggle source
Calls superclass method
# File lib/view_processor/hash_pretty_print.rb, line 111
def initialize(object_type=nil)
  super()
  @object_type = object_type
end

Public Instance Methods

slice(*keys) click to toggle source
Calls superclass method
# File lib/view_processor/hash_pretty_print.rb, line 116
def slice(*keys)
  ret = super
  ret.object_type = object_type
  ret
end