Class: TestOuwerkerkPlugin::StubCompany

Inherits:
Object
  • Object
show all
Defined in:
test/test_plugin/ouwerkerk.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubCompany) initialize(name, url)

A new instance of StubCompany



53
54
55
# File 'test/test_plugin/ouwerkerk.rb', line 53

def initialize(name, url)
  @name, @powerlink = name, url
end

Instance Attribute Details

- (Object) name (readonly)

Returns the value of attribute name



52
53
54
# File 'test/test_plugin/ouwerkerk.rb', line 52

def name
  @name
end

Returns the value of attribute powerlink



52
53
54
# File 'test/test_plugin/ouwerkerk.rb', line 52

def powerlink
  @powerlink
end