Class: Rock::TypeView
- Inherits:
-
GenericView
- Object
- GenericView
- Rock::TypeView
- Defined in:
- lib/rock/rock_inspect.rb
Instance Attribute Summary
Attributes inherited from GenericView
Instance Method Summary collapse
-
#initialize(search_item) ⇒ TypeView
constructor
A new instance of TypeView.
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 |