lib/ratelimit/bucketbased.rb
def get(name)
			rs = @queries['get'].execute(name)
			bucket = nil
			rs.each do |row|
				bucket = Bucket.new(row[0],*row[1,8].map{|x| x.to_f})
			end
			bucket
		end
def get(name)
			rs = @queries['get'].execute(name)
			bucket = nil
			rs.each do |row|
				bucket = Bucket.new(row[0],*row[1,8].map{|x| x.to_f})
			end
			bucket
		end
def get ( name ) rs = @queries [ 'get' ] . execute ( name ) bucket = nil rs . each do | row | bucket = Bucket . new ( row [ 0 ] , row [ 1 , 8 ] . map { | x | x . to_f } ) end bucket end
retrieves a named bucket
 * *Args*    :
   - +name+ -> the name of the bucket to be retrieved
 * *Returns* :
   - the bucket matching the name if found, nil otherwise
 * *Raises* :
   - +Mysql::Error+ -> any issue with the connection to the database or the SQL statements
retrieves a named bucket * * Args * : - + name + - > the name of the bucket to be retrieved * * Returns * : - the bucket matching the name if found nil otherwise * * Raises * : - + Mysql :: Error + - > any issue with the connection to the database or the SQL statements