method
    
    append_to_file
 
  
      v2_6_3 - 
      Show latest stable
 - 
    0 notes - 
    Class: Actions
    
  
  
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3 (0)
- What's this?
append_to_file(path, *args, &block)
  public
  Append text to a file. Since it depends on insert_into_file, it’s reversible.
Parameters
| path of the file to be changed | |
| the data to append to the file, can be also given as a block. | |
| give :verbose => false to not log the status. | 
Example
append_to_file 'config/environments/test.rb', 'config.gem "rspec"' append_to_file 'config/environments/test.rb' do 'config.gem "rspec"' end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
   
    
 
    
    
 
  