Method: PgSync::Sync#display_message
- Defined in:
- lib/pgsync/sync.rb
#display_message(result) ⇒ Object
213 214 215 216 217 218 |
# File 'lib/pgsync/sync.rb', line 213 def (result) = [] << "- #{result[:time]}s" if result[:time] << "(#{result[:message].gsub("\n", " ").strip})" if result[:message] .join(" ") end |