module CassandraCleaner::CqlRspecNotifications::PreparedStatement

Public Instance Methods

execute_with_notify(*args) click to toggle source
# File lib/cassandra_cleaner/cql_rspec_notifications.rb, line 35
def execute_with_notify(*args)
  res = execute_without_notify(*args)
  table_name = self.metadata.instance_variable_get(:@metadata).try(:first).try(:last).try(:table)
  notify_observers(table_name)
  res
end