Class: ODDB::TestFachinfoWriter::StubRule

Inherits:
Object
  • Object
show all
Defined in:
ext/fipdf/test/fachinfo_writer_test.rb

Direct Known Subclasses

StubRule1, StubRule2

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (StubRule) initialize(fulfilled = false)

A new instance of StubRule



157
158
159
# File 'ext/fipdf/test/fachinfo_writer_test.rb', line 157

def initialize(fulfilled = false)
  @fulfilled = fulfilled
end

Instance Attribute Details

- (Object) fulfilled=(value) (writeonly)

Sets the attribute fulfilled

Parameters:

  • value

    the value to set the attribute fulfilled to.



156
157
158
# File 'ext/fipdf/test/fachinfo_writer_test.rb', line 156

def fulfilled=(value)
  @fulfilled = value
end

Instance Method Details

- (Boolean) fulfilled?

Returns:

  • (Boolean)


160
161
162
# File 'ext/fipdf/test/fachinfo_writer_test.rb', line 160

def fulfilled?
  @fulfilled
end