Class: Rock::TypeView

Inherits:
GenericView show all
Defined in:
lib/rock/rock_inspect.rb

Instance Attribute Summary

Attributes inherited from GenericView

#name

Instance Method Summary collapse

Methods inherited from GenericView

#==, #eql?, #hash, #pretty_print

Constructor Details

#initialize(search_item) ⇒ TypeView

Returns a new instance of TypeView



370
371
372
373
374
# File 'lib/rock/rock_inspect.rb', line 370

def initialize(search_item)
    super
    @header = "Typelib name: "
	    @name = @name.gsub(/^\w+::/, '')
end