class SQLCondList
Public Class Methods
new( hash = { } )
click to toggle source
# File lib/sqlobject.rb, line 273 def initialize ( hash = { } ) @hash = Hash[ hash.map{ |k,v| [ SQLObject.get( k ), SQLObject.get( v ) ] } ] end
Public Instance Methods
<<( new_hash )
click to toggle source
# File lib/sqlobject.rb, line 277 def << ( new_hash ) @hash.merge! new_hash end
to_s()
click to toggle source
# File lib/sqlobject.rb, line 281 def to_s @hash.map{ |k,v| k.to_s + "=" + v.to_s }.join( "," ) end