instance method
say
Ruby on Rails 6.1.7.10
Since v3.1.12Signature
say(message, subitem = false)
Takes a message argument and outputs it as is. A second boolean argument can be passed to specify whether to indent or not.
Parameters
-
messagereq -
subitemopt = false
Source
# File activerecord/lib/active_record/migration.rb, line 888
def say(message, subitem = false)
write "#{subitem ? " ->" : "--"} #{message}"
end
Defined in activerecord/lib/active_record/migration.rb line 888
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Migration