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

#chaptersObject

Returns the value of attribute chapters.



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

def chapters
  @chapters
end

#company_nameObject

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

#nameObject

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

#each_chapter(&block) ⇒ Object



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

#first_chapterObject



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

def first_chapter
  @chapters.first
end