assert_no_difference

assert_no_difference(expression, message = nil, &block) Instance Public methods Assertion that the numeric result of evaluating an expression is not changed before and after invoking the passed in block. assert_no_difference 'Article.count' do post :create, article: invalid_attributes end An error message can be specified. assert_no_difference 'Article.count', 'An Article should not be created' do post :create, article: invalid_attributes end

notationdecl?

notationdecl?() Instance Public methods Content: [ String text ]

bytes

bytes() Instance Public methods This is a deprecated alias for each_byte.

ensure_required_rubygems_version_met

ensure_required_rubygems_version_met() Instance Public methods DOC: Missing docs or :nodoc:.

vsatisfies

vsatisfies(version1, version2) Instance Public methods

iv=

cipher.iv = string â string Instance Public methods Sets the cipher IV. Please note that since you should never be using ECB mode, an IV is always explicitly required and should be set prior to encryption. The IV itself can be safely transmitted in public, but it should be unpredictable to prevent certain kinds of attacks. You may use #random_iv to create a secure random IV. Only call this method after calling #encrypt or #decrypt. If not explicitly set, the OpenSSL default of an

new

new(port=8080, host="127.0.0.1", maxConnections=4, stdlog=$stdout, audit=true, debug=true, *a) Class Public methods Creates a new XMLRPC::Server instance, which is a XML-RPC server listening on the given port and accepts requests for the given host, which is localhost by default. The server is not started, to start it you have to call #serve. The optional audit and debug parameters are obsolete! All additionally provided parameters in *a are by-passed to XMLRPC::BasicServer.new.

create_savepoint

create_savepoint(name = nil) Instance Public methods

write_element

write_element( node, output ) Instance Protected methods

new

new(*args) Class Public methods Create a new image with the given options. Examples of use : Create an empty image of 300x200 pixels image = TkPhotoImage.new(:height => 200, :width => 300) Create an image from a file image = TkPhotoImage.new(:file: => 'my_image.gif') Options Photos support the following options: :data Specifies the contents of the image as a string. :format Specifies the name of the file format for the data. :file Gives the name of a file that is to