Class: Itinerary::View::Text
- Inherits:
-
Itinerary::View
- Object
- Itinerary::View
- Itinerary::View::Text
- Defined in:
- lib/itinerary/views/text.rb
Instance Attribute Summary
Attributes inherited from Itinerary::View
#hide_fields, #name, #show_fields
Instance Method Summary collapse
Methods inherited from Itinerary::View
Constructor Details
This class inherits a constructor from Itinerary::View
Instance Method Details
#render_record(rec) ⇒ Object
5 6 7 8 |
# File 'lib/itinerary/views/text.rb', line 5 def render_record(rec) @output.puts "[#{rec.path}]" @output.puts rec.to_text(:field_keys => @field_keys) end |