Class: ODDB::StubRegistrationPatinfo

Inherits:
Object
  • Object
show all
Defined in:
test/test_model/registration.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) added (readonly)

Returns the value of attribute added



81
82
83
# File 'test/test_model/registration.rb', line 81

def added
  @added
end

- (Object) removed (readonly)

Returns the value of attribute removed



81
82
83
# File 'test/test_model/registration.rb', line 81

def removed
  @removed
end

Instance Method Details

- (Object) add_registration(reg)



82
83
84
# File 'test/test_model/registration.rb', line 82

def add_registration(reg)
  @added = reg
end

- (Object) remove_registration(reg)



85
86
87
# File 'test/test_model/registration.rb', line 85

def remove_registration(reg)
  @removed = reg
end