Parsed documentation:
View on GitHub
Prepend text to a file. Since it depends on insert_into_file, it's reversible.

==== Parameters
path<String>:: path of the file to be changed
data<String>:: the data to prepend to the file, can be also given as a block.
config<Hash>:: give :verbose => false to not log the status.

==== Example

  prepend_to_file 'config/environments/test.rb', 'config.gem "rspec"'

  prepend_to_file 'config/environments/test.rb' do
    'config.gem "rspec"'
Please help! Open an issue on GitHub if this assessment is incorrect.