Class: ODDB::FiPDF::TestFachinfoWrapper::StubFachinfo
- Defined in:
- ext/fipdf/test/fachinfo_wrapper_test.rb
Instance Attribute Summary collapse
-
#chapters ⇒ Object
Returns the value of attribute chapters.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#chapters ⇒ Object
Returns the value of attribute chapters.
19 20 21 |
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 19 def chapters @chapters end |
#company_name ⇒ Object
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 |
#name ⇒ Object
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_chapter ⇒ Object
25 26 27 |
# File 'ext/fipdf/test/fachinfo_wrapper_test.rb', line 25 def first_chapter @chapters.first end |