Class: ODDB::FiPDF::TestFachinfoWrapper::StubFachinfo

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) chapters

Returns the value of attribute chapters



19
20
21
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 19

def chapters
  @chapters
end

- (Object) company_name

Returns the value of attribute company_name



19
20
21
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 19

def company_name
  @company_name
end

- (Object) name

Returns the value of attribute name



19
20
21
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 19

def name
  @name
end

Instance Method Details

- (Object) each_chapter(&block)



20
21
22
23
24
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 20

def each_chapter(&block)
  @chapters.each { |chapter|
    block.call(chapter)
  }
end

- (Object) first_chapter



25
26
27
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 25

def first_chapter
  @chapters.first
end