Class: Rock::DeploymentView

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) ⇒ DeploymentView

Returns a new instance of DeploymentView



362
363
364
365
366
# File 'lib/rock/rock_inspect.rb', line 362

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