rename_column

rename_column(table_name, column_name, new_column_name) Instance Public methods Renames a column. rename_column(:suppliers, :description, :name)

parentNode

parentNode() Instance Public methods IXMLDOMNode parentNode parent of the node

adapter_name

adapter_name() Instance Public methods Returns the human-readable name of the adapter. Use mixed case - one can always use downcase if needed.

configure

configure(&block) Instance Public methods

configinfo

configinfo(*args) Instance Public methods

inspect

inspect() Instance Public methods Returns a string that represents the StringScanner object, showing: the current position the size of the string the characters surrounding the scan pointer s = ::new(âFri Dec 12 1975 14:39â) s.inspect # -> '#<StringScanner 0/21 @ âFri Dâ¦â>' s.scan_until /12/ # -> âFri Dec 12â s.inspect # -> '#<StringScanner 10/21 ââ¦ec 12â @ â 1975â¦â>'

to_int

num.to_int â integer Instance Public methods Invokes the child class's to_i method to convert num to an integer. 1.0.class => Float 1.0.to_int.class => Fixnum 1.0.to_i.class => Fixnum

notify_bindinfo

notify_bindinfo(obj, event=nil) Instance Public methods

_thread_vwait

_thread_vwait(var) Class Public methods

exist?

exist?(pattern) Instance Public methods Looks ahead to see if the pattern exists anywhere in the string, without advancing the scan pointer. This predicates whether a scan_until will return a value. s = StringScanner.new('test string') s.exist? /s/ # -> 3 s.scan /test/ # -> "test" s.exist? /s/ # -> 2 s.exist? /e/ # -> nil