spec/string_ext.rb in ridgepole-0.6.5.beta vs spec/string_ext.rb in ridgepole-0.6.5.beta2

- old
+ new

@@ -1,6 +1,7 @@ class String + # TODO: must be remove def delete_create_table(name) new_def = [] in_block = false self.each_line do |line| @@ -16,9 +17,10 @@ new_def = new_def.join raise 'must not happen' if new_def =~ /^\s*create_table\s+"#{name}"/m new_def.delete_add_index(name) end + # TODO: must be remove def delete_add_index(name, columns = nil) new_def = [] in_block = false args = name.inspect