Flowdock
method

announce

Importance_0
v3.0.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 344
      def announce(message)
        version = defined?(@version) ? @version : nil

        text = "#{version} #{name}: #{message}"
        length = [0, 75 - text.length].max
        write "== %s %s" % [text, "=" * length]
      end
Register or log in to add new notes.