[]

WIN32OLE_VARIANT[i,j,...] #=> element of OLE array. Instance Public methods Returns the element of WIN32OLE_VARIANT object(OLE array). This method is available only when the variant type of WIN32OLE_VARIANT object is VT_ARRAY. REMARK: The all indicies should be 0 or natural number and lower than or equal to max indicies. (This point is different with Ruby Array indicies.) obj = WIN32OLE_VARIANT.new([[1,2,3],[4,5,6]]) p obj[0,0] # => 1 p obj[1,0] # => 4 p obj[2,0] # =>

copy_string

copy_string(start_pos, end_pos) Instance Public methods Copies start_pos to end_pos from the current string

test_returns_success

test_returns_success() Instance Public methods

current_axis_configinfo

current_axis_configinfo(id, slot=nil) Instance Public methods

absolute_path

absolute_path() Instance Public methods Returns the absolute path of this instruction sequence. nil if the iseq was evaluated from a string. For example, using ::compile_file: # /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') > iseq.absolute_path #=> /tmp/method.rb

assert_no_migration

assert_no_migration(relative) Instance Public methods Asserts a given migration does not exist. You need to supply an absolute path or a path relative to the configured destination: assert_no_migration "db/migrate/create_products.rb"

<=>

<=>(other) Instance Public methods Layers additional behavior on DateTime#<=> so that Time and ActiveSupport::TimeWithZone instances can be compared with a DateTime.

sanitize_limit

sanitize_limit(limit) Instance Public methods Sanitizes the given LIMIT parameter in order to prevent SQL injection. The limit may be anything that can evaluate to a string via to_s. It should look like an integer, or a comma-delimited list of integers, or an Arel SQL literal. Returns Integer and Arel::Nodes::SqlLiteral limits as is. Returns the sanitized limit parameter, either as an integer, or as a string which contains a comma-delimited list of integers.

gemfile

gemfile() Instance Public methods

itemLeave

itemLeave(c) Instance Public methods