class SQLite3::ResultSet

def closed?

Queries whether the underlying statement has been closed or not.
def closed?
  @stmt.closed?
end