method

announce

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Migration
announce(message) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 297
      def announce(message)
        text = "#{@version} #{name}: #{message}"
        length = [0, 75 - text.length].max
        write "== %s %s" % [text, "=" * length]
      end
Register or log in to add new notes.