# File lib/dbi/dbi.rb, line 758 def bind_param(param, value, attribs=nil) raise InterfaceError, "Statement was already closed!" if @handle.nil? raise InterfaceError, "Statement wasn't prepared before." unless @prepared @handle.bind_param(param, conv_param(value)[0], attribs) end