Class: Squirm::Install

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/squirm/rails/generator.rb

Instance Method Summary collapse

Instance Method Details

#install_functionsObject



6
7
8
9
# File 'lib/squirm/rails/generator.rb', line 6

def install_functions
  copy_file "functions.sql", "db/functions.sql"
  copy_file "unit_test.rb", "test/unit/stored_procedures/hello_world_test.rb"
end