Class: ODDB::State::Companies::TestRootCompanyState::StubApp

Inherits:
Object
  • Object
show all
Defined in:
test/test_state/companies/company.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) company_of_same_name=(value) (writeonly)

Sets the attribute company_of_same_name

Parameters:

  • value

    the value to set the attribute company_of_same_name to.



30
31
32
# File 'test/test_state/companies/company.rb', line 30

def company_of_same_name=(value)
  @company_of_same_name = value
end

- (Object) input (readonly)

Returns the value of attribute input



29
30
31
# File 'test/test_state/companies/company.rb', line 29

def input
  @input
end

- (Object) pointer (readonly)

Returns the value of attribute pointer



28
29
30
# File 'test/test_state/companies/company.rb', line 28

def pointer
  @pointer
end

Instance Method Details

- (Object) company_by_name(name)



35
36
37
# File 'test/test_state/companies/company.rb', line 35

def company_by_name(name)
  @company_of_same_name
end

- (Object) update(pointer, input)



31
32
33
34
# File 'test/test_state/companies/company.rb', line 31

def update(pointer, input)
  @pointer = pointer
  @input = input
end