Class: Fab::Output
- Inherits:
-
Object
- Object
- Fab::Output
- Defined in:
- lib/fab.rb
Direct Known Subclasses
Constant Summary collapse
- LINE_TEMPLATE =
"---------------------------"- LINE_BREAK_TEMPLATE =
"---------------------------"
Instance Method Summary collapse
Instance Method Details
#echo_book ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/fab.rb', line 41 def echo_book() puts LINE_TEMPLATE for i in 0..@id_count puts "場所 #{@libraries[i]["formal"]}" situation_appraisal(@books[i]["situation"]) puts LINE_BREAK_TEMPLATE end end |