nextrange

nextrange(first, last=None) Instance Public methods

invoke

WIN32OLE#invoke(method, [arg1,...]) => return value of method. Instance Public methods Runs OLE method. The first argument specifies the method name of OLE Automation object. The others specify argument of the method. If you can not execute method directly, then use this method instead. excel = WIN32OLE.new('Excel.Application') excel.invoke('Quit') # => same as excel.Quit

removeChild

removeChild(arg0) Instance Public methods IXMLDOMNode removeChild remove a child node IXMLDOMNode arg0 --- childNode [IN]

each_child

each_child(with_directory=true, &b) Instance Public methods Iterates over the children of the directory (files and subdirectories, not recursive). It yields Pathname object for each child. By default, the yielded pathnames will have enough information to access the files. If you set with_directory to false, then the returned pathnames will contain the filename only. Pathname("/usr/local").each_child {|f| p f } #=> #<Pathname:/usr/local/share> # #<Pathname:/usr/loc

constantize_agename

constantize_agename(name) Instance Public methods

_unset_variable 2

_unset_variable(var, flag) Instance Public methods

authentication_request

authentication_request(controller, realm) Instance Public methods

increment_counter

increment_counter(counter_name, id) Instance Public methods Increment a numeric field by one, via a direct SQL update. This method is used primarily for maintaining counter_cache columns that are used to store aggregate values. For example, a DiscussionBoard may cache posts_count and comments_count to avoid running an SQL query to calculate the number of posts and comments there are, each time it is displayed. Parameters counter_name - The name of the field that should be incremen

pretty

pretty(string, shift = " ") Class Public methods Prettify (indent) an HTML string. string is the HTML string to indent. shift is the indentation unit to use; it defaults to two spaces. print CGI::pretty("<HTML><BODY></BODY></HTML>") # <HTML> # <BODY> # </BODY> # </HTML> print CGI::pretty("<HTML><BODY></BODY></HTML>", "\t") # <HTML> # <BODY> # </BODY> # <

files

files() Instance Public methods Files included in this gem. You cannot append to this accessor, you must assign to it. Only add files you can require to this list, not directories, etc. Directories are automatically stripped from this list when building a gem, other non-files cause an error. Usage: require 'rake' spec.files = FileList['lib .rb', 'bin/*', '[A-Z]*', 'test/ *'].to_a # or without Rake... spec.fil