Sha256: e453e93003003e4a0ca0e243f26458f62d472f1ddb29f3e9152767f58df6229b
Contents?: true
Size: 401 Bytes
Versions: 7
Compression:
Stored size: 401 Bytes
Contents
require "curses" class InsertSQLDataAction < GetDataAction def initialize( actions , sql, db ) super(actions) @sql = sql @db = db end def winHeight() return 7 + @actions.length end def afterActions() preparedSql = @sql @actions.each do |action| preparedSql = preparedSql.sub("%s", action.data) end self.promptToChangeData(preparedSql) end end
Version data entries
7 entries across 7 versions & 1 rubygems