Class: MaintainTempFile
- Inherits:
-
Brant::Migration
- Object
- Brant::Migration
- MaintainTempFile
- Defined in:
- lib/pkg/migrate/maintain_temp_file_20120212430871.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'lib/pkg/migrate/maintain_temp_file_20120212430871.rb', line 6 def self.down File.open('a.txt','w'){|f| } end |
.up ⇒ Object
2 3 4 |
# File 'lib/pkg/migrate/maintain_temp_file_20120212430871.rb', line 2 def self.up File.open('a.txt','w'){|f| f.write 'this is cool'} end |