Class: CreateTempFile
- Inherits:
-
Brant::Migration
- Object
- Brant::Migration
- CreateTempFile
- Defined in:
- lib/pkg/migrate/create_temp_file_20120206020466.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'lib/pkg/migrate/create_temp_file_20120206020466.rb', line 6 def self.down system("rm a.txt") end |
.up ⇒ Object
2 3 4 |
# File 'lib/pkg/migrate/create_temp_file_20120206020466.rb', line 2 def self.up system("touch a.txt") end |