add_filter

add_filter(&block) Instance Public methods Adds a filter from the block provided. Each line in the backtrace will be mapped against this filter. # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb" backtrace_cleaner.add_filter { |line| line.gsub(Rails.root, '') }

instructions

instructions() Instance Public methods Get an array of all Instruction children. IMMUTABLE

blank

blank() Instance Public methods Blank the image; that is, set the entire image to have no data, so it will be displayed as transparent, and the background of whatever window it is displayed in will show through.

add_method_documentation

add_method_documentation(out, klass) Instance Public methods Adds documentation for all methods in klass to out

cmsg_is?

ancillarydata.cmsg_is?(level, type) => true or false Instance Public methods tests the level and type of ancillarydata. ancdata = Socket::AncillaryData.new(:INET6, :IPV6, :PKTINFO, "") ancdata.cmsg_is?(Socket::IPPROTO_IPV6, Socket::IPV6_PKTINFO) #=> true ancdata.cmsg_is?(:IPV6, :PKTINFO) #=> true ancdata.cmsg_is?(:IP, :PKTINFO) #=> false ancdata.cmsg_is?(:SOCKET, :RIGHTS) #=> false

set_default_value

set_default_value(val) Instance Public methods Also aliased as: default_value=

select_date

select_date(date = Date.current, options = {}, html_options = {}) Instance Public methods Returns a set of html select-tags (one for year, month, and day) pre-selected with the date. It's possible to explicitly set the order of the tags using the :order option with an array of symbols :year, :month and :day in the desired order. If the array passed to the :order option does not contain all the three symbols, all tags will be hidden. If anything is passed in the html_options hash it

arrange

arrange(container) Class Public methods

unlink

unlink() Instance Public methods Unlinks (deletes) the file from the filesystem. One should always unlink the file after using it, as is explained in the âExplicit closeâ good practice section in the Tempfile overview: file = Tempfile.new('foo') begin ...do something with file... ensure file.close file.unlink # deletes the temp file end Unlink-before-close On POSIX systems it's possible to unlink a file before closing it. This practice is explained in detail in the Tempf

find_by_name

find_by_name(name, *requirements) Class Public methods Find the best specification matching a name and requirements. Raises if the dependency doesn't resolve to a valid specification.