COMMIT This behavior is only on MRI 1.8. http://github.com/rubyspec/rubyspec/commit/a83581b2d33fba5599b22712ddea68b272376955 COMMIT Eliminate intermittent Time spec failures. http://github.com/rubyspec/rubyspec/commit/9b8d16adaa79a5b627f76b968d2e730b1ae3476f COMMIT Removed wrong, useless Mutex#unlock spec. http://github.com/rubyspec/rubyspec/commit/778421951fa39ee286cf9926fc22f717dd139768 COMMIT Some more specs for GzipReader#read. http://github.com/rubyspec/rubyspec/commit/e76f1a12671ad3e2eeb1ccf6d67b1bd1c53265c1 COMMIT Some more specs for GzipReader, and cleanup. http://github.com/rubyspec/rubyspec/commit/c2113ea0879ca3de7ebc75c2775a8ce19be261f8 COMMIT Guard one evil IO#read_nonblock spec, as not compliant on :jruby. http://github.com/rubyspec/rubyspec/commit/9c14d0325c4aa19999f3cecea99deac7b13daed0 COMMIT Fixed my mistake http://github.com/rubyspec/rubyspec/commit/eb4dd007aa0d8917bcece45ed7176eb90ac0b9a9 COMMIT Refactoring http://github.com/rubyspec/rubyspec/commit/e42f8787728a094c4f1d1fbdc23525f808c63009 COMMIT String#squeeze raises ArgumentError when the parameter doesn't match in ruby 1.9.2 http://github.com/rubyspec/rubyspec/commit/e654494647121d9062a8c97bf05d7efd8d159fcb COMMIT Array#join doesn't send call `to_s` of the parameters but call `to_str` instead. http://github.com/rubyspec/rubyspec/commit/9ab6a1b233ee8be5545f01c9417a9ca93ddf38b5 COMMIT Substituted from `.class.should ==` to `.should be_an_instance_of` http://github.com/rubyspec/rubyspec/commit/d80d54a44d22d2334244739e2ba687cd36b446b5 --- 20091209T080336 +++ 20091210T075950 @@ -1,16089 +1,16090 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/join_spec.rb Array#join - returns an empty string if the Array is empty -- returns a string formed by concatenating each element.to_s separated by separator without trailing separator +- returns a string formed by concatenating each element.to_str separated by separator without trailing separator (FAILED - ) +- returns a string formed by concatenating each element.to_str separated by separator without trailing separator (FAILED - ) - raises a NoMethodError if an element does not respond to #to_s - uses the same separator with nested arrays - tries to convert the passed separator to a String using #to_str @@ -16176,7 +16177,8 @@ Array#* with a string - returns an empty string if the Array is empty -- returns a string formed by concatenating each element.to_s separated by separator without trailing separator +- returns a string formed by concatenating each element.to_str separated by separator without trailing separator (FAILED - ) +- returns a string formed by concatenating each element.to_str separated by separator without trailing separator (FAILED - ) - raises a NoMethodError if an element does not respond to #to_s - uses the same separator with nested arrays - tries to convert the passed separator to a String using #to_str @@ -17092,12 +17094,12 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/shuffle_spec.rb Array#shuffle -- should return the same values, in a usually different order +- returns the same values, in a usually different order - returns subclass instances with Array subclass - is not destructive Array#shuffle! -- should return the same values, in a usually different order +- returns the same values, in a usually different order - raises a RuntimeError on a frozen array /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/array/size_spec.rb @@ -18757,7 +18759,7 @@ /home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/enumerable/join_spec.rb Enumerable#join - returns an empty string if the Array is empty (ERROR - ) -- returns a string formed by concatenating each element.to_s separated by separator without trailing separator (ERROR - ) +- returns a string formed by concatenating each element.to_str separated by separator without trailing separator (ERROR - ) - raises a NoMethodError if an element does not respond to #to_s - uses the same separator with nested arrays (ERROR - ) - tries to convert the passed separator to a String using #to_str (ERROR - ) @@ -21994,39 +21996,4072 @@ - raises EAGAIN when there is no data - returns at most the number of bytes requested - returns less data if that is all that is available -- changes the behavior of #read to nonblockingtimeout: output interval exceeds 600.0 seconds. -timeout: the process group is alive. -timeout: INT signal sent. -|output interval exceeds 600.0 seconds. (CommandTimeout) -| ./timeoutcom.rb:160:in `timeout_command' -| ./chkbuild/build.rb:660:in `run' -| ./chkbuild/ruby.rb:238:in `def_target' -| ./chkbuild/build.rb:263:in `catch_error' -| ./chkbuild/ruby.rb:227:in `def_target' -| ./chkbuild/build.rb:217:in `call' -| ./chkbuild/build.rb:217:in `child_build_target' -| ./chkbuild/build.rb:263:in `catch_error' -| ./chkbuild/build.rb:217:in `child_build_target' -| ./chkbuild/build.rb:251:in `with_procmemsize' -| ./chkbuild/build.rb:216:in `child_build_target' -| ./chkbuild/build.rb:188:in `child_build_wrapper' -| ./chkbuild/lock.rb:53:in `lock_puts' -| ./chkbuild/build.rb:185:in `child_build_wrapper' -| ./chkbuild/build.rb:131:in `build_in_child' -| ./chkbuild/build.rb:129:in `fork' -| ./chkbuild/build.rb:129:in `build_in_child' -| ./chkbuild/build.rb:114:in `build' -| ./chkbuild/target.rb:158:in `make_result' -| ./chkbuild/target.rb:150:in `each' -| ./chkbuild/target.rb:150:in `each_build_obj' -| ./chkbuild/target.rb:156:in `make_result' -| ./chkbuild/main.rb:72:in `main_build' -| ./chkbuild/main.rb:71:in `each' -| ./chkbuild/main.rb:71:in `main_build' -| ./chkbuild/main.rb:131:in `main' -| ./sample/build-ruby:39 -| /home/chkbuild/start-build:35:in `load' -| /home/chkbuild/start-build:35 -failed(rubyspec CommandTimeout) +- raises IOError on closed stream +- raises EOFError when the end is reached + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/read_spec.rb +IO.read +- reads the contents of a file +- calls #to_path on non-String arguments +- treats second nil argument as no length limit +- treats third nil argument as 0 +- reads the contents of a file up to a certain size when specified +- reads the contents of a file from an offset of a specific size when specified +- returns nil at end-of-file when length is passed +- raises an Errno::ENOENT when the requested file does not exist +- raises a TypeError when not passed a String type +- raises an ArgumentError when not passed a valid length +- raises an Errno::EINVAL when not passed a valid offset + +IO.read on an empty file +- returns nil when length is passed +- returns an empty string when no length is passed + +IO#read +- can be read from consecutively +- can read lots of data +- can read lots of data with length +- consumes zero bytes when reading zero bytes +- is at end-of-file when everything has been read +- reads the contents of a file +- places the specified number of bytes in the buffer +- expands the buffer when too small +- overwrites the buffer +- truncates the buffer when too big +- returns the given buffer +- coerces the second argument to string and uses it as a buffer +- returns an empty string at end-of-file +- reads the contents of a file when more bytes are specified +- returns an empty string at end-of-file +- returns an empty string when the current pos is bigger than the content size +- returns nil at end-of-file with a length +- with length argument returns nil when the current pos is bigger than the content size +- raises IOError on closed stream +- strips the BOM when given 'rb:utf-7-bom' as the mode (FAILED - ) +- ignores unicode encoding + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/readchar_spec.rb +IO#readchar +- returns the next string from the stream +- raises EOFError when invoked at the end of the stream +- raises EOFError when reaches the end of the stream +- raises EOFError on empty stream +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/readline_spec.rb +IO#readline +- returns the next line on the stream +- goes back to first position after a rewind +- is modified by the cursor position +- raises EOFError on end of stream +- raises IOError on closed stream +- assigns the returned line to $_ + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/readlines_spec.rb +IO#readlines when passed no arguments +- returns an Array containing lines based on $/ +- updates self's position +- updates self's lineno based on the number of lines read +- does not change $_ +- returns an empty Array when self is at the end + +IO#readlines when passed [separator] +- returns an Array containing lines based on the passed separator +- returns an empty Array when self is at the end +- updates self's lineno based on the number of lines read +- updates self's position based on the number of characters read +- does not change $_ +- returns an Array containing all paragraphs when the passed separator is an empty String +- returns the remaining content as one line starting at the current position when passed nil +- tries to convert the passed separator to a String using #to_str + +IO#readlines when in write-only mode +- raises an IOError + +IO.readlines when passed [file_name] +- returns an Array containing lines of file_name based on $/ +- raises an Errno::ENOENT error when the passed file_name does not exist +- does not change $_ +- tries to convert the passed file_name to a String using #to_str + +IO#readlines when passed [file_name, separator] +- returns an Array containing lines of file_name based on the passed separator +- does not change $_ +- returns an Array containing all paragraphs when the passed separator is an empty String +- tries to convert the passed separator to a String using #to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/readpartial_spec.rb +IO#readpartial +- raises IOError on closed stream +- reads at most the specified number of bytes +- reads after ungetc with data in the buffer +- reads after ungetc without data in the buffer +- discards the existing buffer content upon successful read +- raises EOFError on EOF +- discards the existing buffer content upon error +- raises IOError if the stream is closed +- raises ArgumentError if the negative argument is provided +- immediately returns an empty string if the length argument is 0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/reopen_spec.rb +IO#reopen +- raises IOError on closed stream +- raises IOError when called on closed stream +- should not raise IOError when called on closed stream with path +- reassociates self to another file/descriptor but returns self +- reassociates self with a new stream opened on path, when self in initial state +- reassociates self with a new stream opened on path, after some reads +- reassociates self with a new stream opened on path, after some writes +- reassociates self with the I/O stream specified as an argument, after some reads (FAILED - ) +- reassociates self with the I/O stream specified as an argument, after some sysreads +- reassociates self with the I/O stream specified as an argument, after some writes +- reassociates self with a new stream after some reads (FAILED - ) +- calls #to_path on non-String arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/rewind_spec.rb +IO#rewind +- positions the instance to the beginning of input +- positions the instance to the beginning of input and clears EOF +- sets lineno to 0 +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/seek_spec.rb +IO#seek +- moves the read position relative to the current position with SEEK_CUR +- moves the read position relative to the start with SEEK_SET +- moves the read position relative to the end with SEEK_END +- can handle any numerical argument without breaking +- raises IOError on closed stream +- moves the read position and clears EOF with SEEK_SET +- moves the read position and clears EOF with SEEK_CUR +- moves the read position and clears EOF with SEEK_END + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/select_spec.rb +IO.select +- blocks for duration of timeout if there are no objects ready for I/O +- returns immediately all objects that are ready for I/O when timeout is 0 +- returns nil after timeout if there are no objects ready for I/O +- returns supplied objects when they are ready for I/O +- returns supplied objects correctly even when monitoring the same object in different arrays +- invokes to_io on supplied objects that are not IO +- raises TypeError if supplied objects are not IO +- raises TypeError if the specified timeout value is not Numeric +- raises TypeError if the first three arguments are not Arrays +- does not raise errors if the first three arguments are nil +- does not accept negative timeouts + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/stat_spec.rb +IO#stat +- raises IOError on closed stream +- returns a File::Stat object for the stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/sync_spec.rb +IO#sync= +- sets the sync mode to true or false +- accepts non-boolean arguments +- raises IOError on closed stream + +IO#sync +- returns the current sync mode +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/sysopen_spec.rb +IO.sysopen +- returns the file descriptor for a given path +- works on directories +- calls #to_path on first argument +- accepts a mode as second argument +- accepts permissions as third argument + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/sysread_spec.rb +IO#sysread on a file +- reads the specified number of bytes from the file +- reads the specified number of bytes from the file to the buffer +- coerces the second argument to string and uses it as a buffer +- advances the position of the file by the specified number of bytes +- reads normally even when called immediately after a buffered IO#read +- does not raise error if called after IO#read followed by IO#write +- does not raise error if called after IO#read followed by IO#syswrite +- reads updated content after the flushed buffered IO#write +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/sysseek_spec.rb +IO#sysseek on a file +- moves the read position relative to the current position with SEEK_CUR +- raises an error when called after buffered reads +- warns if called immediately after a buffered IO#write +- moves the read position relative to the start with SEEK_SET +- moves the read position relative to the end with SEEK_END +- can handle any numerical argument without breaking and can seek past EOF +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/syswrite_spec.rb +IO#syswrite on a file +- writes all of the string's bytes but does not buffer them +- warns if called immediately after a buffered IO#write +- does not warn if called after IO#write with intervening IO#sysread +- writes to the actual file position when called after buffered IO#read + +IO#syswrite +- coerces the argument to a string using to_s +- checks if the file is writable if writing more than zero bytes +- returns the number of bytes written +- invokes to_s on non-String argument +- writes all of the string's bytes without buffering if mode is sync +- does not warn if called after IO#read +- writes to the current position after IO#read +- advances the file position by the count of given bytes +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/tell_spec.rb +IO#tell +- gets the offset +- raises IOError on closed stream +- resets #eof? + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/to_i_spec.rb +IO#to_i +- return the numeric file descriptor of the given IO object +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/to_io_spec.rb +IO#to_io +- returns self for open stream +- returns self for closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/try_convert_spec.rb +IO.try_convert +- returns self for IO objects +- converts using :to_io +- returns nil when the argument doesn't respond to :to_io +- should not rescue errors +- checks the result of the conversion + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/tty_spec.rb +IO#tty? +- returns false if this stream is not a terminal device (TTY) +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/ungetc_spec.rb +IO#ungetc +- pushes back one character onto stream +- pushes back one character when invoked at the end of the stream +- pushes back one character when invoked at the start of the stream +- pushes back one character when invoked on empty stream +- affects EOF state +- adjusts the stream position +- makes subsequent unbuffered operations to raise IOError +- returns nil when invoked on stream that was not yet read +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/write_nonblock_spec.rb +IO#write_nonblock on a file +- writes all of the string's bytes but does not buffer them +- checks if the file is writable if writing zero bytes + +IO#write_nonblock +- coerces the argument to a string using to_s +- checks if the file is writable if writing more than zero bytes +- returns the number of bytes written +- invokes to_s on non-String argument +- writes all of the string's bytes without buffering if mode is sync +- does not warn if called after IO#read +- writes to the current position after IO#read +- advances the file position by the count of given bytes +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/io/write_spec.rb +IO#write on a file +- writes all of the string's bytes but buffers them +- does not check if the file is writable if writing zero bytes +- returns a length of 0 when writing a blank string + +IO#write +- coerces the argument to a string using to_s +- checks if the file is writable if writing more than zero bytes +- returns the number of bytes written +- invokes to_s on non-String argument +- writes all of the string's bytes without buffering if mode is sync +- does not warn if called after IO#read +- writes to the current position after IO#read +- advances the file position by the count of given bytes +- raises IOError on closed stream + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/Array_spec.rb +Kernel#Array +- is a private method +- does not call #to_ary on an Array +- tries to call #to_ary on the given argument if it's not an Array +- does not call #to_a on an Array +- tries to call #to_a on the given argument if #to_ary is not provided +- returns an array with the given argument if neither #to_ary nor #to_a are provided +- returns an empty array if the given argument is nil +- raises a TypeError if #to_ary / #to_a do not return an array + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/Float_spec.rb +Kernel.Float +- returns the identical Float for numeric Floats +- returns a Float for Fixnums +- returns a Float for Bignums +- raises an ArgumentError for nil +- returns the identical NaN for NaN +- returns the same Infinity for Infinity +- converts Strings to floats without calling #to_f +- converts Strings with decimal points into Floats +- raises and ArgumentError for a String of word characters +- raises an ArgumentError if there are two decimal points in the String +- raises and ArgumentError for a String of numbers followed by word characters +- raises and ArgumentError for a String of word characters followed by numbers +- converts String subclasses to floats without calling #to_f +- returns a positive Float if the string is prefixed with + +- returns a negative Float if the string is prefixed with + +- raises an ArgumentError if a + or - is embedded in a String +- raises an ArgumentError if a String has a trailing + or - +- raises an ArgumentError for a String with a leading _ +- returns a value for a String with an embedded _ +- raises an ArgumentError for a String with a trailing _ +- raises an ArgumentError for a String of \0 +- raises an ArgumentError for a String with a leading \0 +- raises an ArgumentError for a String with an embedded \0 +- raises an ArgumentError for a String with a trailing \0 +- raises an ArgumentError for a String that is just an empty space +- raises an ArgumentError for a String that with an embedded space +- returns a value for a String with a leading space +- returns a value for a String with a trailing space +- raises an ArgumentError if e is the trailing character +- raises an ArgumentError if e is the leading character +- returns Infinity for '2e1000' +- returns 0 for '2e-1000' +- allows embedded _ in a number on either side of the e +- raises an exception if a space is embedded on either side of the 'e' +- raises an exception if there's a leading _ on either side of the 'e' +- raises an exception if there's a trailing _ on either side of the 'e' +- allows decimal points on the left side of the 'e' +- raises an ArgumentError if there's a decimal point on the right side of the 'e' +- raises an ArgumentError if E is the trailing character +- raises an ArgumentError if E is the leading character +- returns Infinity for '2E1000' +- returns 0 for '2E-1000' +- allows embedded _ in a number on either side of the E +- raises an exception if a space is embedded on either side of the 'E' +- raises an exception if there's a leading _ on either side of the 'E' +- raises an exception if there's a trailing _ on either side of the 'E' +- allows decimal points on the left side of the 'E' +- raises an ArgumentError if there's a decimal point on the right side of the 'E' +- returns a Float that can be a parameter to #Float again +- otherwise, converts the given argument to a Float by calling #to_f +- returns the identical NaN if to_f is called and it returns NaN +- returns the identical Infinity if to_f is called and it returns Infinity +- raises a TypeError if #to_f is not provided +- raises a TypeError if #to_f returns a String +- raises a TypeError if #to_f returns an Integer + +Kernel#Float +- returns the identical Float for numeric Floats +- returns a Float for Fixnums +- returns a Float for Bignums +- raises an ArgumentError for nil +- returns the identical NaN for NaN +- returns the same Infinity for Infinity +- converts Strings to floats without calling #to_f +- converts Strings with decimal points into Floats +- raises and ArgumentError for a String of word characters +- raises an ArgumentError if there are two decimal points in the String +- raises and ArgumentError for a String of numbers followed by word characters +- raises and ArgumentError for a String of word characters followed by numbers +- converts String subclasses to floats without calling #to_f +- returns a positive Float if the string is prefixed with + +- returns a negative Float if the string is prefixed with + +- raises an ArgumentError if a + or - is embedded in a String +- raises an ArgumentError if a String has a trailing + or - +- raises an ArgumentError for a String with a leading _ +- returns a value for a String with an embedded _ +- raises an ArgumentError for a String with a trailing _ +- raises an ArgumentError for a String of \0 +- raises an ArgumentError for a String with a leading \0 +- raises an ArgumentError for a String with an embedded \0 +- raises an ArgumentError for a String with a trailing \0 +- raises an ArgumentError for a String that is just an empty space +- raises an ArgumentError for a String that with an embedded space +- returns a value for a String with a leading space +- returns a value for a String with a trailing space +- raises an ArgumentError if e is the trailing character +- raises an ArgumentError if e is the leading character +- returns Infinity for '2e1000' +- returns 0 for '2e-1000' +- allows embedded _ in a number on either side of the e +- raises an exception if a space is embedded on either side of the 'e' +- raises an exception if there's a leading _ on either side of the 'e' +- raises an exception if there's a trailing _ on either side of the 'e' +- allows decimal points on the left side of the 'e' +- raises an ArgumentError if there's a decimal point on the right side of the 'e' +- raises an ArgumentError if E is the trailing character +- raises an ArgumentError if E is the leading character +- returns Infinity for '2E1000' +- returns 0 for '2E-1000' +- allows embedded _ in a number on either side of the E +- raises an exception if a space is embedded on either side of the 'E' +- raises an exception if there's a leading _ on either side of the 'E' +- raises an exception if there's a trailing _ on either side of the 'E' +- allows decimal points on the left side of the 'E' +- raises an ArgumentError if there's a decimal point on the right side of the 'E' +- returns a Float that can be a parameter to #Float again +- otherwise, converts the given argument to a Float by calling #to_f +- returns the identical NaN if to_f is called and it returns NaN +- returns the identical Infinity if to_f is called and it returns Infinity +- raises a TypeError if #to_f is not provided +- raises a TypeError if #to_f returns a String +- raises a TypeError if #to_f returns an Integer + +Kernel#Float +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/Integer_spec.rb +Kernel.Integer +- returns a Bignum for a Bignum +- returns a Fixnum for a Fixnum +- uncritically return the value of to_int even if it is not an Integer +- raises a TypeError when passed nil +- returns a Fixnum or Bignum object +- truncates Floats +- calls to_i on Rationals +- returns the value of to_int if the result is a Fixnum +- returns the value of to_int if the result is a Bignum +- calls to_i on an object whose to_int returns nil +- uncritically return the value of to_int even if it is not an Integer +- raises a TypeError if to_i returns a value that is not an Integer +- raises a TypeError if no to_int or to_i methods exist +- raises a TypeError if to_int returns nil and no to_i exists +- raises a FloatDomainError when passed NaN +- raises a FloatDomainError when passed Infinity +- raises an ArgumentError if the String is a null byte +- raises an ArgumentError if the String starts with a null byte +- raises an ArgumentError if the String ends with a null byte +- raises an ArgumentError if the String contains a null byte +- ignores leading whitespace +- ignores trailing whitespace +- raises an ArgumentError if there are leading _s +- raises an ArgumentError if there are trailing _s +- ignores an embedded _ +- raises an ArgumentError if there are multiple embedded _s +- ignores a single leading + +- raises an ArgumentError if there is a space between the + and number +- raises an ArgumentError if there are multiple leading +s +- raises an ArgumentError if there are trailing +s +- makes the number negative if there's a leading - +- raises an ArgumentError if there are multiple leading -s +- raises an ArgumentError if there are trailing -s +- raises an ArgumentError if there is a period +- raises an ArgumentError for an empty String +- parses the value as a hex number if there's a leading 0x +- is a positive hex number if there's a leading +0x +- is a negative hex number if there's a leading -0x +- raises an ArgumentError if the number cannot be parsed as hex +- parses the value as a hex number if there's a leading 0X +- is a positive hex number if there's a leading +0X +- is a negative hex number if there's a leading -0X +- raises an ArgumentError if the number cannot be parsed as hex +- parses the value as a binary number if there's a leading 0b +- is a positive binary number if there's a leading +0b +- is a negative binary number if there's a leading -0b +- raises an ArgumentError if the number cannot be parsed as binary +- parses the value as a binary number if there's a leading 0B +- is a positive binary number if there's a leading +0B +- is a negative binary number if there's a leading -0B +- raises an ArgumentError if the number cannot be parsed as binary +- parses the value as an octal number if there's a leading 0o +- is a positive octal number if there's a leading +0o +- is a negative octal number if there's a leading -0o +- raises an ArgumentError if the number cannot be parsed as octal +- parses the value as an octal number if there's a leading 0O +- is a positive octal number if there's a leading +0O +- is a negative octal number if there's a leading -0O +- raises an ArgumentError if the number cannot be parsed as octal +- parses the value as an octal number if there's a leading 0 +- is a positive octal number if there's a leading +0 +- is a negative octal number if there's a leading -0 +- raises an ArgumentError if the number cannot be parsed as octal +- parses the value as a decimal number if there's a leading 0D +- is a positive decimal number if there's a leading +0D +- is a negative decimal number if there's a leading -0D +- raises an ArgumentError if the number cannot be parsed as decimal +- parses the value as a decimal number if there's a leading 0d +- is a positive decimal number if there's a leading +0d +- is a negative decimal number if there's a leading -0d +- raises an ArgumentError if the number cannot be parsed as decimal +- raises an ArgumentError if the String is a null byte +- raises an ArgumentError if the String starts with a null byte +- raises an ArgumentError if the String ends with a null byte +- raises an ArgumentError if the String contains a null byte +- ignores leading whitespace (ERROR - ) +- ignores trailing whitespace (ERROR - ) +- raises an ArgumentError if there are leading _s +- raises an ArgumentError if there are trailing _s +- ignores an embedded _ (ERROR - ) +- raises an ArgumentError if there are multiple embedded _s +- ignores a single leading + (ERROR - ) +- raises an ArgumentError if there is a space between the + and number +- raises an ArgumentError if there are multiple leading +s +- raises an ArgumentError if there are trailing +s +- makes the number negative if there's a leading - (ERROR - ) +- raises an ArgumentError if there are multiple leading -s +- raises an ArgumentError if there are trailing -s +- raises an ArgumentError if there is a period +- raises an ArgumentError for an empty String +- raises an ArgumentError for a base of 1 +- raises an ArgumentError for a base of 37 +- accepts wholly lowercase alphabetic strings for bases > 10 (ERROR - ) +- accepts wholly uppercase alphabetic strings for bases > 10 (ERROR - ) +- accepts mixed-case alphabetic strings for bases > 10 (ERROR - ) +- accepts alphanumeric strings for bases > 10 (ERROR - ) +- raises an ArgumentError for letters invalid in the given base +- parses the value as a hex number if there's a leading 0x and a base of 16 (ERROR - ) +- is a positive hex number if there's a leading +0x and base of 16 (ERROR - ) +- is a negative hex number if there's a leading -0x and a base of 16 (ERROR - ) +- raises an ArgumentError if the number begins with 0x and the base is 2 +- raises an ArgumentError if the number begins with 0x and the base is 3 +- raises an ArgumentError if the number begins with 0x and the base is 4 +- raises an ArgumentError if the number begins with 0x and the base is 5 +- raises an ArgumentError if the number begins with 0x and the base is 6 +- raises an ArgumentError if the number begins with 0x and the base is 7 +- raises an ArgumentError if the number begins with 0x and the base is 8 +- raises an ArgumentError if the number begins with 0x and the base is 9 +- raises an ArgumentError if the number begins with 0x and the base is 10 +- raises an ArgumentError if the number begins with 0x and the base is 11 +- raises an ArgumentError if the number begins with 0x and the base is 12 +- raises an ArgumentError if the number begins with 0x and the base is 13 +- raises an ArgumentError if the number begins with 0x and the base is 14 +- raises an ArgumentError if the number begins with 0x and the base is 15 +- raises an ArgumentError if the number cannot be parsed as hex and the base is 16 +- parses the value as a hex number if there's a leading 0X and a base of 16 (ERROR - ) +- is a positive hex number if there's a leading +0X and base of 16 (ERROR - ) +- is a negative hex number if there's a leading -0X and a base of 16 (ERROR - ) +- raises an ArgumentError if the number begins with 0X and the base is 2 +- raises an ArgumentError if the number begins with 0X and the base is 3 +- raises an ArgumentError if the number begins with 0X and the base is 4 +- raises an ArgumentError if the number begins with 0X and the base is 5 +- raises an ArgumentError if the number begins with 0X and the base is 6 +- raises an ArgumentError if the number begins with 0X and the base is 7 +- raises an ArgumentError if the number begins with 0X and the base is 8 +- raises an ArgumentError if the number begins with 0X and the base is 9 +- raises an ArgumentError if the number begins with 0X and the base is 10 +- raises an ArgumentError if the number begins with 0X and the base is 11 +- raises an ArgumentError if the number begins with 0X and the base is 12 +- raises an ArgumentError if the number begins with 0X and the base is 13 +- raises an ArgumentError if the number begins with 0X and the base is 14 +- raises an ArgumentError if the number begins with 0X and the base is 15 +- raises an ArgumentError if the number cannot be parsed as hex and the base is 16 +- parses the value as a binary number if there's a leading 0b and the base is 2 (ERROR - ) +- is a positive binary number if there's a leading +0b and a base of 2 (ERROR - ) +- is a negative binary number if there's a leading -0b and a base of 2 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as binary and the base is 2 +- parses the value as a binary number if there's a leading 0B and the base is 2 (ERROR - ) +- is a positive binary number if there's a leading +0B and a base of 2 (ERROR - ) +- is a negative binary number if there's a leading -0B and a base of 2 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as binary and the base is 2 +- parses the value as an octal number if there's a leading 0o and a base of 8 (ERROR - ) +- is a positive octal number if there's a leading +0o and a base of 8 (ERROR - ) +- is a negative octal number if there's a leading -0o and a base of 8 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as octal and the base is 8 +- raises an ArgumentError if the number begins with 0o and the base is 2 +- raises an ArgumentError if the number begins with 0o and the base is 3 +- raises an ArgumentError if the number begins with 0o and the base is 4 +- raises an ArgumentError if the number begins with 0o and the base is 5 +- raises an ArgumentError if the number begins with 0o and the base is 6 +- raises an ArgumentError if the number begins with 0o and the base is 7 +- parses the value as an octal number if there's a leading 0O and a base of 8 (ERROR - ) +- is a positive octal number if there's a leading +0O and a base of 8 (ERROR - ) +- is a negative octal number if there's a leading -0O and a base of 8 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as octal and the base is 8 +- raises an ArgumentError if the number begins with 0O and the base is 2 +- raises an ArgumentError if the number begins with 0O and the base is 3 +- raises an ArgumentError if the number begins with 0O and the base is 4 +- raises an ArgumentError if the number begins with 0O and the base is 5 +- raises an ArgumentError if the number begins with 0O and the base is 6 +- raises an ArgumentError if the number begins with 0O and the base is 7 +- parses the value as a decimal number if there's a leading 0D and a base of 10 (ERROR - ) +- is a positive decimal number if there's a leading +0D and a base of 10 (ERROR - ) +- is a negative decimal number if there's a leading -0D and a base of 10 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as decimal and the base is 10 +- raises an ArgumentError if the number begins with 0D and the base is 2 +- raises an ArgumentError if the number begins with 0D and the base is 3 +- raises an ArgumentError if the number begins with 0D and the base is 4 +- raises an ArgumentError if the number begins with 0D and the base is 5 +- raises an ArgumentError if the number begins with 0D and the base is 6 +- raises an ArgumentError if the number begins with 0D and the base is 7 +- raises an ArgumentError if the number begins with 0D and the base is 8 +- raises an ArgumentError if the number begins with 0D and the base is 9 +- raises an ArgumentError if a base is given for a non-String value +- parses the value as a decimal number if there's a leading 0d and a base of 10 (ERROR - ) +- is a positive decimal number if there's a leading +0d and a base of 10 (ERROR - ) +- is a negative decimal number if there's a leading -0d and a base of 10 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as decimal and the base is 10 +- raises an ArgumentError if the number begins with 0d and the base is 2 +- raises an ArgumentError if the number begins with 0d and the base is 3 +- raises an ArgumentError if the number begins with 0d and the base is 4 +- raises an ArgumentError if the number begins with 0d and the base is 5 +- raises an ArgumentError if the number begins with 0d and the base is 6 +- raises an ArgumentError if the number begins with 0d and the base is 7 +- raises an ArgumentError if the number begins with 0d and the base is 8 +- raises an ArgumentError if the number begins with 0d and the base is 9 +- raises an ArgumentError if a base is given for a non-String value +- is a public method + +Kernel#Integer +- returns a Bignum for a Bignum +- returns a Fixnum for a Fixnum +- uncritically return the value of to_int even if it is not an Integer +- raises a TypeError when passed nil +- returns a Fixnum or Bignum object +- truncates Floats +- calls to_i on Rationals +- returns the value of to_int if the result is a Fixnum +- returns the value of to_int if the result is a Bignum +- calls to_i on an object whose to_int returns nil +- uncritically return the value of to_int even if it is not an Integer +- raises a TypeError if to_i returns a value that is not an Integer +- raises a TypeError if no to_int or to_i methods exist +- raises a TypeError if to_int returns nil and no to_i exists +- raises a FloatDomainError when passed NaN +- raises a FloatDomainError when passed Infinity +- raises an ArgumentError if the String is a null byte +- raises an ArgumentError if the String starts with a null byte +- raises an ArgumentError if the String ends with a null byte +- raises an ArgumentError if the String contains a null byte +- ignores leading whitespace +- ignores trailing whitespace +- raises an ArgumentError if there are leading _s +- raises an ArgumentError if there are trailing _s +- ignores an embedded _ +- raises an ArgumentError if there are multiple embedded _s +- ignores a single leading + +- raises an ArgumentError if there is a space between the + and number +- raises an ArgumentError if there are multiple leading +s +- raises an ArgumentError if there are trailing +s +- makes the number negative if there's a leading - +- raises an ArgumentError if there are multiple leading -s +- raises an ArgumentError if there are trailing -s +- raises an ArgumentError if there is a period +- raises an ArgumentError for an empty String +- parses the value as a hex number if there's a leading 0x +- is a positive hex number if there's a leading +0x +- is a negative hex number if there's a leading -0x +- raises an ArgumentError if the number cannot be parsed as hex +- parses the value as a hex number if there's a leading 0X +- is a positive hex number if there's a leading +0X +- is a negative hex number if there's a leading -0X +- raises an ArgumentError if the number cannot be parsed as hex +- parses the value as a binary number if there's a leading 0b +- is a positive binary number if there's a leading +0b +- is a negative binary number if there's a leading -0b +- raises an ArgumentError if the number cannot be parsed as binary +- parses the value as a binary number if there's a leading 0B +- is a positive binary number if there's a leading +0B +- is a negative binary number if there's a leading -0B +- raises an ArgumentError if the number cannot be parsed as binary +- parses the value as an octal number if there's a leading 0o +- is a positive octal number if there's a leading +0o +- is a negative octal number if there's a leading -0o +- raises an ArgumentError if the number cannot be parsed as octal +- parses the value as an octal number if there's a leading 0O +- is a positive octal number if there's a leading +0O +- is a negative octal number if there's a leading -0O +- raises an ArgumentError if the number cannot be parsed as octal +- parses the value as an octal number if there's a leading 0 +- is a positive octal number if there's a leading +0 +- is a negative octal number if there's a leading -0 +- raises an ArgumentError if the number cannot be parsed as octal +- parses the value as a decimal number if there's a leading 0D +- is a positive decimal number if there's a leading +0D +- is a negative decimal number if there's a leading -0D +- raises an ArgumentError if the number cannot be parsed as decimal +- parses the value as a decimal number if there's a leading 0d +- is a positive decimal number if there's a leading +0d +- is a negative decimal number if there's a leading -0d +- raises an ArgumentError if the number cannot be parsed as decimal +- raises an ArgumentError if the String is a null byte +- raises an ArgumentError if the String starts with a null byte +- raises an ArgumentError if the String ends with a null byte +- raises an ArgumentError if the String contains a null byte +- ignores leading whitespace (ERROR - ) +- ignores trailing whitespace (ERROR - ) +- raises an ArgumentError if there are leading _s +- raises an ArgumentError if there are trailing _s +- ignores an embedded _ (ERROR - ) +- raises an ArgumentError if there are multiple embedded _s +- ignores a single leading + (ERROR - ) +- raises an ArgumentError if there is a space between the + and number +- raises an ArgumentError if there are multiple leading +s +- raises an ArgumentError if there are trailing +s +- makes the number negative if there's a leading - (ERROR - ) +- raises an ArgumentError if there are multiple leading -s +- raises an ArgumentError if there are trailing -s +- raises an ArgumentError if there is a period +- raises an ArgumentError for an empty String +- raises an ArgumentError for a base of 1 +- raises an ArgumentError for a base of 37 +- accepts wholly lowercase alphabetic strings for bases > 10 (ERROR - ) +- accepts wholly uppercase alphabetic strings for bases > 10 (ERROR - ) +- accepts mixed-case alphabetic strings for bases > 10 (ERROR - ) +- accepts alphanumeric strings for bases > 10 (ERROR - ) +- raises an ArgumentError for letters invalid in the given base +- parses the value as a hex number if there's a leading 0x and a base of 16 (ERROR - ) +- is a positive hex number if there's a leading +0x and base of 16 (ERROR - ) +- is a negative hex number if there's a leading -0x and a base of 16 (ERROR - ) +- raises an ArgumentError if the number begins with 0x and the base is 2 +- raises an ArgumentError if the number begins with 0x and the base is 3 +- raises an ArgumentError if the number begins with 0x and the base is 4 +- raises an ArgumentError if the number begins with 0x and the base is 5 +- raises an ArgumentError if the number begins with 0x and the base is 6 +- raises an ArgumentError if the number begins with 0x and the base is 7 +- raises an ArgumentError if the number begins with 0x and the base is 8 +- raises an ArgumentError if the number begins with 0x and the base is 9 +- raises an ArgumentError if the number begins with 0x and the base is 10 +- raises an ArgumentError if the number begins with 0x and the base is 11 +- raises an ArgumentError if the number begins with 0x and the base is 12 +- raises an ArgumentError if the number begins with 0x and the base is 13 +- raises an ArgumentError if the number begins with 0x and the base is 14 +- raises an ArgumentError if the number begins with 0x and the base is 15 +- raises an ArgumentError if the number cannot be parsed as hex and the base is 16 +- parses the value as a hex number if there's a leading 0X and a base of 16 (ERROR - ) +- is a positive hex number if there's a leading +0X and base of 16 (ERROR - ) +- is a negative hex number if there's a leading -0X and a base of 16 (ERROR - ) +- raises an ArgumentError if the number begins with 0X and the base is 2 +- raises an ArgumentError if the number begins with 0X and the base is 3 +- raises an ArgumentError if the number begins with 0X and the base is 4 +- raises an ArgumentError if the number begins with 0X and the base is 5 +- raises an ArgumentError if the number begins with 0X and the base is 6 +- raises an ArgumentError if the number begins with 0X and the base is 7 +- raises an ArgumentError if the number begins with 0X and the base is 8 +- raises an ArgumentError if the number begins with 0X and the base is 9 +- raises an ArgumentError if the number begins with 0X and the base is 10 +- raises an ArgumentError if the number begins with 0X and the base is 11 +- raises an ArgumentError if the number begins with 0X and the base is 12 +- raises an ArgumentError if the number begins with 0X and the base is 13 +- raises an ArgumentError if the number begins with 0X and the base is 14 +- raises an ArgumentError if the number begins with 0X and the base is 15 +- raises an ArgumentError if the number cannot be parsed as hex and the base is 16 +- parses the value as a binary number if there's a leading 0b and the base is 2 (ERROR - ) +- is a positive binary number if there's a leading +0b and a base of 2 (ERROR - ) +- is a negative binary number if there's a leading -0b and a base of 2 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as binary and the base is 2 +- parses the value as a binary number if there's a leading 0B and the base is 2 (ERROR - ) +- is a positive binary number if there's a leading +0B and a base of 2 (ERROR - ) +- is a negative binary number if there's a leading -0B and a base of 2 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as binary and the base is 2 +- parses the value as an octal number if there's a leading 0o and a base of 8 (ERROR - ) +- is a positive octal number if there's a leading +0o and a base of 8 (ERROR - ) +- is a negative octal number if there's a leading -0o and a base of 8 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as octal and the base is 8 +- raises an ArgumentError if the number begins with 0o and the base is 2 +- raises an ArgumentError if the number begins with 0o and the base is 3 +- raises an ArgumentError if the number begins with 0o and the base is 4 +- raises an ArgumentError if the number begins with 0o and the base is 5 +- raises an ArgumentError if the number begins with 0o and the base is 6 +- raises an ArgumentError if the number begins with 0o and the base is 7 +- parses the value as an octal number if there's a leading 0O and a base of 8 (ERROR - ) +- is a positive octal number if there's a leading +0O and a base of 8 (ERROR - ) +- is a negative octal number if there's a leading -0O and a base of 8 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as octal and the base is 8 +- raises an ArgumentError if the number begins with 0O and the base is 2 +- raises an ArgumentError if the number begins with 0O and the base is 3 +- raises an ArgumentError if the number begins with 0O and the base is 4 +- raises an ArgumentError if the number begins with 0O and the base is 5 +- raises an ArgumentError if the number begins with 0O and the base is 6 +- raises an ArgumentError if the number begins with 0O and the base is 7 +- parses the value as a decimal number if there's a leading 0D and a base of 10 (ERROR - ) +- is a positive decimal number if there's a leading +0D and a base of 10 (ERROR - ) +- is a negative decimal number if there's a leading -0D and a base of 10 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as decimal and the base is 10 +- raises an ArgumentError if the number begins with 0D and the base is 2 +- raises an ArgumentError if the number begins with 0D and the base is 3 +- raises an ArgumentError if the number begins with 0D and the base is 4 +- raises an ArgumentError if the number begins with 0D and the base is 5 +- raises an ArgumentError if the number begins with 0D and the base is 6 +- raises an ArgumentError if the number begins with 0D and the base is 7 +- raises an ArgumentError if the number begins with 0D and the base is 8 +- raises an ArgumentError if the number begins with 0D and the base is 9 +- raises an ArgumentError if a base is given for a non-String value +- parses the value as a decimal number if there's a leading 0d and a base of 10 (ERROR - ) +- is a positive decimal number if there's a leading +0d and a base of 10 (ERROR - ) +- is a negative decimal number if there's a leading -0d and a base of 10 (ERROR - ) +- raises an ArgumentError if the number cannot be parsed as decimal and the base is 10 +- raises an ArgumentError if the number begins with 0d and the base is 2 +- raises an ArgumentError if the number begins with 0d and the base is 3 +- raises an ArgumentError if the number begins with 0d and the base is 4 +- raises an ArgumentError if the number begins with 0d and the base is 5 +- raises an ArgumentError if the number begins with 0d and the base is 6 +- raises an ArgumentError if the number begins with 0d and the base is 7 +- raises an ArgumentError if the number begins with 0d and the base is 8 +- raises an ArgumentError if the number begins with 0d and the base is 9 +- raises an ArgumentError if a base is given for a non-String value +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/String_spec.rb +Kernel.String +- converts nil to a String +- converts a Float to a String +- converts a boolean to a String +- converts a constant to a String +- calls #to_s to convert an arbitrary object to a String +- raises a TypeError if #to_s does not exist +- raises a TypeError if respond_to? returns false for #to_s +- raises a NoMethodError if #to_s is not defined but #respond_to?(:to_s) returns true +- calls #to_s if #respond_to?(:to_s) returns true +- raises a TypeError if #to_s does not return a String +- returns the same object if it is already a String +- returns the same object if it is an instance of a String subclass + +Kernel#String +- converts nil to a String +- converts a Float to a String +- converts a boolean to a String +- converts a constant to a String +- calls #to_s to convert an arbitrary object to a String +- raises a TypeError if #to_s does not exist +- raises a TypeError if respond_to? returns false for #to_s +- raises a NoMethodError if #to_s is not defined but #respond_to?(:to_s) returns true +- calls #to_s if #respond_to?(:to_s) returns true +- raises a TypeError if #to_s does not return a String +- returns the same object if it is already a String +- returns the same object if it is an instance of a String subclass +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/__callee__spec.rb +Kernel.__callee__ +- returns the current method, even when aliased +- returns the original name when aliased method +- returns the caller from blocks too +- returns the caller from define_method too +- returns the caller from block inside define_method too +- returns the caller from a define_method called from the same class +- returns method name even from eval +- returns nil when not called from a method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/__id___spec.rb +Kernel#__id__ +- returns an integer +- returns the same value on all calls to id for a given object +- returns different values for different objects +- returns the same value for two Fixnums with the same value +- returns the same value for two Symbol literals +- returns the same value for two true literals +- returns the same value for two false literals +- returns the same value for two nil literals +- returns a different value for two Bignum literals +- returns a different value for two Float literals +- returns a different value for two String literals +- returns a different value for an object and its dup + +Kernel#__id__ +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/__method__spec.rb +Kernel.__method__ +- returns the current method, even when aliased +- returns the original name when aliased method +- returns the caller from blocks too +- returns the caller from define_method too +- returns the caller from block inside define_method too +- returns the caller from a define_method called from the same class +- returns method name even from eval +- returns nil when not called from a method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/__send___spec.rb +Kernel#__send__ +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/abort_spec.rb +Kernel#abort +- is a private method + +Kernel.abort +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/at_exit_spec.rb +Kernel.at_exit +- is a private method +- runs after all other code +- runs in reverse order of registration + +Kernel#at_exit +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/autoload_spec.rb +Kernel#autoload +- is a private method +- registers a file to load the first time the named constant is accessed +- registers a file to load the first time the named constant is accessed +- sets the autoload constant in Object's constant table +- loads the file when the constant is accessed +- does not call Kernel.require or Kernel.load to load the file + +Kernel#autoload? +- is a private method +- returns the name of the file that will be autoloaded +- returns nil if no file has been registered for a constant + +Kernel.autoload +- registers a file to load the first time the toplevel constant is accessed +- sets the autoload constant in Object's metaclass's constant table +- calls #to_path on non-String filenames (ERROR - ) +- calls #to_path on non-String filenames (FAILED - ) + +Kernel.autoload? +- returns the name of the file that will be autoloaded +- returns nil if no file has been registered for a constant + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/backtick_spec.rb +Kernel#` +- is a private method +- returns the standard output of the executed sub-process +- tries to convert the given argument to String using #to_str +- sets $? to the exit status of the executed sub-process + +Kernel.` +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/binding_spec.rb +Kernel#binding +- is a private method +- returns a Binding object +- encapsulates the execution context properly +- raises a NameError on undefined variable + +Kernel.binding +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/block_given_spec.rb +Kernel#block_given? +- returns true if and only if a block is supplied +- returns false when a method defined by define_method is called with a block +- returns false outside of a method +- is a private method + +Kernel.block_given? +- returns true if and only if a block is supplied +- returns false when a method defined by define_method is called with a block + +self.send(:block_given?) +- returns true if and only if a block is supplied +- returns false when a method defined by define_method is called with a block + +Kernel.block_given? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/callcc_spec.rb +Kernel#callcc +- is a private method +- is possible to exit a loop like a break +- is possible to call a continuation multiple times +- returns the results of a block if continuation is not called +- returns the results of continuation once called +- returns the arguments to call +- preserves changes to block-local scope +- preserves changes to method-local scope +- raises a LocalJumpError if callcc is not given a block + +Kernel.callcc +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/caller_spec.rb +Kernel#caller +- is a private method +- returns the current call stack +- omits a number of frames corresponding to the parameter +- defaults to omitting one frame + +Kernel#caller in a Proc or eval +- returns the definition trace of a block when evaluated in a Proc binding +- returns the definition trace of a Proc +- returns the correct caller line from a called Proc +- returns the correct definition line for a complex Proc trace +- begins with (eval) for caller(0) in eval +- begins with the eval's sender's sender for caller(4) in eval +- shows the current line in the calling block twice when evaled + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/case_compare_spec.rb +Kernel#=== for a class with default #== and #equal? +- returns true if other object has same object id +- returns false if other object does not have same object id + +Kernel#=== for a class with #== overridden to consider other object's class +- returns true if #== returns true even if #equal? is false +- returns true if #equal? returns true +- returns false if neither #== nor #equal? returns true + +Kernel#=== for a class with #equal? overridden to always be false +- returns true if #== returns true even if #equal? is false +- returns false if neither #== nor #equal? returns true + +Kernel#=== for a class with #== and #equal? overridden to always be false +- returns true if the object id is the same even if both #== and #equal? return false +- returns false if the object id is not the same and both #== and #equal? return false + +Kernel#=== for a class with #object_id overridden to always be different #== and #equal? overridden to always be true +- returns true if #== or #equal? is true even if object id is different + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/catch_spec.rb +Kernel.catch +- executes its block +- returns the last expression evaluated if throw was not called +- throws the given name and is caught by matching catch block +- can be used even in a method different from where throw is called +- can be nested +- raises ArgumentError if more than one arguments are given +- accepts an object as an argument +- yields a new, unique object when called without arguments +- raises LocalJumpError if no block is given + +Kernel#catch +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/chomp_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/chop_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/class_spec.rb +Kernel#class +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/clone_spec.rb +Kernel#clone +- calls #initialize_copy on the new instance +- copies instance variables +- copies singleton methods +- copies modules included in the singleton class +- copies constants defined in the singleton class + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/comparison_spec.rb +Kernel#<=> +- returns 0 if self (ERROR - ) +- returns 0 if self is == to the argument (ERROR - ) +- returns 0 if self is == to the argument (FAILED - ) +- returns nil if self is eql? but not == to the argument (ERROR - ) +- returns nil if self.==(arg) returns nil (ERROR - ) +- returns nil if self.==(arg) returns nil (FAILED - ) +- returns nil if self is not == to the argument (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/define_singleton_method_spec.rb +Kernel#define_singleton_method +- defines a new method with the given name and the given block as body in self +- raises a TypeError when the given method is no Method/Proc +- defines a new singleton method for objects +- maintains the Proc's scope + +Kernel#define_singleton_method when given an UnboundMethod +- correctly calls the new method +- adds the new method to the methods list +- defines any Child class method from any Parent's class methods (ERROR - ) +- will raise when attempting to define an object's singleton method from another objetc's singleton method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/display_spec.rb +Kernel#display +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/dup_spec.rb +Kernel#dup +- calls #initialize_copy on the new instance +- copies instance variables +- does not copy singleton methods +- does not copy modules included in the singleton class +- does not copy constants defined in the singleton class + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/eql_spec.rb +Kernel#eql? +- returns true if obj and anObject are the same object. +- returns true if obj and anObject have the same value. + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/equal_spec.rb +Kernel#equal? +- returns true only if obj and other are the same object +- returns true if obj and anObject have the same value. +- is unaffected by overriding object_id +- is unaffected by overriding == +- is unaffected by overriding eql? +- is unaffected by overriding __id__ + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/equal_value_spec.rb +Kernel#== +- returns true only if obj and other are the same object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/eval_spec.rb +Kernel#eval +- is a private method +- is a module function +- evaluates the code within +- evaluates within the scope of the eval +- evaluates such that consts are scoped to the class of the eval +- finds a local in an enclosing scope +- updates a local in an enclosing scope +- creates an eval-scope local +- updates a local in a surrounding block scope +- updates a local in a scope above a surrounding block scope +- updates a local in a scope above when modified in a nested block scope +- doesn't accept a Proc object as a binding +- does not make Proc locals visible to evaluated code +- allows a binding to be captured inside an eval +- allows creating a new class in a binding +- allows creating a new class in a binding created by #eval +- allows creating a new class in a binding returned by a method defined with #eval +- includes file and line information in syntax error +- should perform top level evaluations from inside a block +- uses a filename of (eval) if none is provided + +Kernel.eval +- does not pass the block to the method being eval'ed +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/exec_spec.rb +Kernel#exec +- is a private method +- raises a SystemCallError if cmd cannot execute + +Kernel.exec +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/exit_spec.rb +Kernel#exit +- is a private method + +Kernel#exit! +- is a private method + +Kernel.exit +- raises a SystemExit with status 0 +- raises a SystemExit with the specified status +- raises a SystemExit with the specified boolean status +- tries to convert the passed argument to an Integer using #to_int +- converts the passed Float argument to an Integer +- raises TypeError if can't convert the argument to an Integer + +Kernel.exit! +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/extend_spec.rb +Kernel#extend +- calls extend_object on argument +- calls extended on argument +- makes the class a kind_of? the argument +- raises a RuntimeError if self is frozen + +Kernel#extend +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/fail_spec.rb +Kernel.fail +- is a private method +- raises a RuntimeError +- accepts an Object with an exception method returning an Exception +- instantiates the specified exception class +- uses the specified message + +Kernel#fail +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/fork_spec.rb +Kernel#fork +- is a private method + +Kernel.fork +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/format_spec.rb +Kernel#format +- is a private method + +Kernel.format +- is accessible as a module function + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/freeze_spec.rb +Kernel#freeze +- prevents self from being further modified +- has no effect on immediate values (FAILED - ) +- causes mutative calls to raise RuntimeError + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/frozen_spec.rb +Kernel#frozen? +- returns true if self is frozen + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/getc_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/gets_spec.rb +Kernel#gets +- is a private method + +Kernel.gets +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/global_variables_spec.rb +Kernel.global_variables +- is a private method +- finds subset starting with std + +Kernel#global_variables +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/gsub_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/hash_spec.rb +Kernel#hash +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/id_spec.rb +Kernel#id +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/initialize_copy_spec.rb +Kernel#initialize_copy +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/inspect_spec.rb +Kernel#inspect +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/instance_eval_spec.rb +Kernel#instance_eval +- expects a block with no arguments +- takes no arguments with a block +- doesn't pass the object to the block +- only binds the eval to the receiver +- binds self to the receiver +- executes in the context of the receiver +- has access to receiver's instance variables +- treats block-local variables as local to the block +- sets class variables in the receiver +- gets constants in the receiver if a string given +- doesn't get constants in the receiver if a block given (FAILED - ) +- raises a TypeError when defining methods on an immediate +- raises a TypeError when defining methods on numerics + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/instance_of_spec.rb +Kernel#instance_of? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/instance_variable_defined_spec.rb +Kernel#instance_variable_defined? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/instance_variable_get_spec.rb +Kernel#instance_variable_get +- tries to convert the passed argument to a String using #to_str +- returns the value of the passed instance variable that is referred to by the conversion result +- returns nil when the referred instance variable does not exist +- raises a TypeError when the passed argument does not respond to #to_str +- raises a TypeError when the passed argument can't be converted to a String +- raises a NameError when the conversion result does not start with an '@' + +Kernel#instance_variable_get when passed Symbol +- returns the value of the instance variable that is referred to by the passed Symbol +- raises a NameError when the passed Symbol does not start with an '@' + +Kernel#instance_variable_get when passed String +- returns the value of the instance variable that is referred to by the passed String +- raises a NameError when the passed String does not start with an '@' + +Kernel#instance_variable_get when passed Fixnum +- raises a TypeError + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/instance_variable_set_spec.rb +Kernel#instance_variable_set +- sets the value of the specified instance variable +- sets the value of the instance variable when no instance variables exist yet +- raises a NameError exception if the argument is not of form '@x' +- raises a TypeError if the instance variable name is a Fixnum +- raises a TypeError if the instance variable name is an object that does not respond to to_str +- raises a NameError if the passed object, when coerced with to_str, does not start with @ +- raises a NameError if pass an object that cannot be a symbol +- accepts as instance variable name any instance of a class that responds to to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/instance_variables_spec.rb +Kernel#instance_variables +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/is_a_spec.rb +Kernel#is_a? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/iterator_spec.rb +Kernel#iterator? +- is a private method + +Kernel.iterator? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/kind_of_spec.rb +Kernel#kind_of? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/lambda_spec.rb +Kernel.lambda +- is a private method +- returns a Proc object +- raises an ArgumentError when no block is given +- returns from the itself; not the creation site of the +- allows long returns to flow through it + +Kernel#lambda +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/load_spec.rb +Kernel#load +- is a private method +- loads a .rb from an absolute path and returns true +- loads a .rb from a relative path and returns true +- loads extension files +- loads an unqualified .rb by looking in $LOAD_PATH and returns true +- does not expand/resolve qualified files against $LOAD_PATH +- allows unqualified files to contain path information (just not in the beginning) +- loads a file with no extension as a ruby source file +- loads a file with any extension as a ruby source file +- does not create a .rb file for the non-.rb files +- does not add the loaded file to $LOADED_FEATURES +- returns __FILE__ as an absolute path +- produces __FILE__ as the given filename and __LINE__ as the source line number +- reloads the file if invoked on the same filename again, returning true +- re-evaluates the file each time it is loaded +- loads the file even if it has already been #required +- does not cause #require on the same filename to fail +- raises a LoadError if the file can't be found +- raises a LoadError if filename given without its extension +- only accepts strings as the filename argument +- calls #to_path on non-String arguments +- allows wrapping the code in the file in an anonymous module + +Shell expansion in Kernel#load +- expands a preceding ~/ to the user's home directory to use as path + +Kernel.load +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/local_variables_spec.rb +Kernel.local_variables +- is a private method +- contains locals as they are added +- is accessable from bindings + +Kernel#local_variables +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/loop_spec.rb +Kernel.loop +- is a private method +- calls block until it is terminated by a break +- returns value passed to break +- returns nil if no value passed to break +- returns an enumerator if no block given (ERROR - ) +- rescues StopIteration +- rescues StopIteration's subclasses +- does not rescue other errors + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/match_spec.rb +Kernel#=~ +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/method_missing_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/method_spec.rb +Kernel#method +- returns a method object for a valid method +- returns a method object for a valid singleton method +- raises a NameError for an invalid method name +- raises a NameError for an invalid singleton method name +- changes the method called for super on a target aliased method +- can be called on a private method +- raises a NameError when called on a protected method +- can call methods created with define_method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/methods_spec.rb +Kernel#methods +- returns singleton methods defined by obj.meth +- returns singleton methods defined in 'class << self' +- returns private singleton methods defined by obj.meth +- returns singleton methods defined in 'class << self' when it follows 'private' +- does not return private singleton methods defined in 'class << self' +- returns the publicly accessible methods of the object +- returns the publicly accessible methods in the object, its ancestors and mixed-in modules +- does not return undefined singleton methods defined by obj.meth +- does not return superclass methods undefined in the object's class +- does not return superclass methods undefined in a superclass +- does not return included module methods undefined in the object's class + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/nil_spec.rb +Kernel#nil? +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/object_id_spec.rb +Object.object_id +- returns an integer +- returns the same value on all calls to id for a given object +- returns different values for different objects +- returns the same value for two Fixnums with the same value +- returns the same value for two Symbol literals +- returns the same value for two true literals +- returns the same value for two false literals +- returns the same value for two nil literals +- returns a different value for two Bignum literals +- returns a different value for two Float literals +- returns a different value for two String literals +- returns a different value for an object and its dup + +Kernel#object_id +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/open_spec.rb +Kernel#open +- is a private method +- opens a file when given a valid filename +- opens a file when called with a block +- opens an io when path starts with a pipe +- opens an io when called with a block +- raises an ArgumentError if not passed one argument +- calls #to_open on argument +- raises a TypeError if passed a non-String that does not respond to #to_open + +Kernel.open +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/p_spec.rb +Kernel#p +- is a private method +- flushes output if receiver is a File +- prints obj.inspect followed by system record separator for each argument given +- is not affected by setting $\, $/ or $, +- prints nothing if no argument is given +- prints nothing if called splatting an empty Array + +Kernel.p +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/print_spec.rb +Kernel#print +- is a private method + +Kernel.print +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/printf_spec.rb +Kernel#printf +- is a private method + +Kernel.printf +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/private_methods_spec.rb +Kernel#private_methods +- returns a list of the names of privately accessible methods in the object +- returns a list of the names of privately accessible methods in the object and its ancestors and mixed-in modules + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/proc_spec.rb +Kernel.proc +- is a private method +- returns a Proc object +- raises an ArgumentError when no block is given +- returns from the creation site of the proc, not just the proc itself + +Kernel#proc +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/protected_methods_spec.rb +Kernel#protected_methods +- returns a list of the names of protected methods accessible in the object +- returns a list of the names of protected methods accessible in the object and from its ancestors and mixed-in modules + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/public_method_spec.rb +Kernel#public_method +- returns a method object for a valid method +- returns a method object for a valid singleton method +- raises a NameError for an invalid method name +- raises a NameError for an invalid singleton method name +- changes the method called for super on a target aliased method +- raises a NameError when called on a private method +- raises a NameError when called on a protected method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/public_methods_spec.rb +Kernel#public_methods +- returns a list of the names of publicly accessible methods in the object +- returns a list of the names of publicly accessible methods in the object and its ancestors and mixed-in modules + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/public_send_spec.rb +Kernel#public_send +- invokes the named public method +- invokes the named alias of a public method +- raises a NoMethodError if the method is protected +- raises a NoMethodError if the named method is private +- raises a NoMethodError if the named method is an alias of a private method +- raises a NoMethodError if the named method is an alias of a protected method +- invokes the named method +- invokes a class method if called on a class +- raises a NameError if the corresponding method can't be found +- raises a NameError if the corresponding singleton method can't be found +- raises an ArgumentError if no arguments are given +- raises an ArgumentError if called with more arguments than available parameters +- raises an ArgumentError if called with fewer arguments than required parameters +- succeeds if passed an arbitrary number of arguments as a splat parameter +- succeeds when passing 1 or more arguments as a required and a splat parameter +- succeeds when passing 0 arguments to a method with one parameter with a default +- has an arity of -1 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/putc_spec.rb +Kernel#putc +- is a private method + +Kernel.putc +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/puts_spec.rb +Kernel#puts +- is a private method +- writes just a newline when given no args +- writes a newline when given nil as an arg +- calls to_s before writing non-string objects +- writes each arg if given several +- flattens a nested array before writing it +- writes [...] for a recursive array arg +- writes a newline after objects that do not end in newlines +- does not write a newline after objects that end in newlines +- ignores the $/ separator global + +Kernel.puts +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/raise_spec.rb +Kernel#raise +- is a private method + +Kernel#raise +- aborts execution +- raises RuntimeError if no exception class is given +- re-raises the rescued exception +- allows Exception, message, and backtrace parameters + +Kernel.raise +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/rand_spec.rb +Kernel.rand +- is a private method +- returns a random float less than 1 if no max argument is passed +- returns a random int or bigint less than the argument for an integer argument +- returns a random integer less than the argument casted to an int for a float argument greater than 1 +- returns a random float less than 1 for float arguments less than 1 +- never returns a value greater or equal to 1.0 with no arguments +- never returns a value greater or equal to any passed in max argument + +Kernel#rand +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/readline_spec.rb +Kernel#readline +- is a private method + +Kernel.readline +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/readlines_spec.rb +Kernel#readlines +- is a private method + +Kernel.readlines +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/remove_instance_variable_spec.rb +Kernel#remove_instance_variable +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/require_spec.rb +Kernel#require +- is a private method +- resolves paths relative to the current working directory +- does not resolve completely unqualified filenames against the current working directory unless it appears in $LOAD_PATH (FAILED - ) +- does not expand/resolve qualified files against $LOAD_PATH +- loads a .rb from an absolute path +- collapses consecutive path separators +- loads an unqualified .rb by looking in $LOAD_PATH and returning true +- allows unqualified files to contain path information (just not in the beginning) +- loads a file with ./filename even if . is not in path +- stores a non-extensioned file with its located suffix +- appends a file with no extension with .rb/. in that order to locate file +- prefers to use .rb over . if given non-extensioned file and both exist +- will load file.rb when given 'file' if it exists even if file. is loaded +- will not load file. when given 'file' if file.rb already loaded +- appends any non-ruby extensioned file with .rb/. in that order to locate file +- loads extension files +- will load explicit file. even if file.rb already loaded and vice versa +- stores the loaded file in $LOADED_FEATURES +- will not add a bad load to LOADED_FEATURES +- uses $LOADED_FEATURES to see whether file is already loaded +- will not load a file whose path appears in $LOADED_FEATURES; it will return false +- requires arbitrarily complex files (files with large numbers of AST nodes) +- raises a LoadError if the file can't be found +- raises a LoadError if the file exists but can't be read +- only accepts string or objects with #to_path or #to_str +- calls #to_path on non-String arguments +- does not call #to_path on String arguments +- calls #to_str on non-String objects returned by #to_path +- calls #to_str on non-String arguments +- does not infinite loop on an rb file that requires itself +- produces __FILE__ as the given filename and __LINE__ as the source line number + +Shell expansion in Kernel#require +- expands a preceding ~/ to the user's home directory for building the path to search +- adds the path to $LOADED_FEATURES + +Kernel.require +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/respond_to_missing_spec.rb +Kernel#respond_to_missing? +- is not called when #respond_to? would return true +- is called with a 2nd argument of false when #respond_to? is (FAILED - ) +- is called a 2nd argument of false when #respond_to? is called with only 1 argument (FAILED - ) +- is called with true as the second argument when #respond_to? is (FAILED - ) +- is called when #respond_to? would return false (FAILED - ) +- causes #respond_to? to return true if called and not returning false (FAILED - ) +- causes #respond_to? to return true if called and not returning false (FAILED - ) +- causes #respond_to? to return false if called and returning false (FAILED - ) +- isn't called when obj responds to the given public method +- isn't called when obj responds to the given public method, include_private = true +- isn't called when obj responds to the given protected method +- isn't called when obj responds to the given protected method, include_private = true +- is called when obj responds to the given private method, include_private = false (FAILED - ) +- isn't called when obj responds to the given private method, include_private = true +- is called for missing class methods (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/respond_to_spec.rb +Kernel.respond_to? +- indicates if a singleton object responds to a particular message + +Kernel#respond_to? +- returns false if the given method was undefined +- returns true if obj responds to the given public method +- returns true if obj responds to the given protected method +- returns true if obj responds to the given protected method, include_private = true +- returns true if obj responds to the given protected method +- returns true if obj responds to the given private method, include_private = true +- returns true if obj responds to the given private method +- indicates if an object responds to a particular message +- returns false for a method which exists but is unimplemented (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/scan_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/select_spec.rb +Kernel#select +- is a private method + +Kernel.select +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/send_spec.rb +Kernel#send +- invokes the named public method +- invokes the named alias of a public method +- invokes the named protected method +- invokes the named private method +- invokes the named alias of a private method +- invokes the named alias of a protected method +- invokes the named method +- invokes a class method if called on a class +- raises a NameError if the corresponding method can't be found +- raises a NameError if the corresponding singleton method can't be found +- raises an ArgumentError if no arguments are given +- raises an ArgumentError if called with more arguments than available parameters +- raises an ArgumentError if called with fewer arguments than required parameters +- succeeds if passed an arbitrary number of arguments as a splat parameter +- succeeds when passing 1 or more arguments as a required and a splat parameter +- succeeds when passing 0 arguments to a method with one parameter with a default +- has an arity of -1 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/set_trace_func_spec.rb +Kernel#set_trace_func +- is a private method + +Kernel.set_trace_func +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/singleton_method_added_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/singleton_method_removed_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/singleton_method_undefined_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/singleton_methods_spec.rb +Kernel#singleton_methods +- returns a list of the names of singleton methods in the object +- returns a list of names of singleton methods in object and superclasses when passed true +- should handle singleton_methods call with and without argument +- returns a list of the names of singleton methods in the object and its ancestors and mixed-in modules + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/sleep_spec.rb +Kernel#sleep +- is a private method +- pauses execution for approximately the duration requested +- returns the rounded number of seconds asleep +- raises a TypeError when passed a non-numeric duration +- pauses execution indefinitely if not given a duration + +Kernel.sleep +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/spawn_spec.rb +Kernel.spawn +- executes the given command +- executes the given command as a new process +- returns the process ID of the new process as a Fixnum +- returns immediately +- sets the child's environment variables according to a supplied hash-e:1:in `[]': can't convert Symbol into String (TypeError) + from -e:1 + (FAILED - ) +- joins the current process group by default +- joins a new process group if :pgroup => true +- uses the current working directory as its working directory +- uses the given working directory if :chdir => dir is supplied +- redirects STDERR to the given file descriptior if if :err => Fixnumnil +- redirects STDERR to the given file if :err => Stringnil + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/split_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/sprintf_spec.rb +Kernel#sprintf +- is a private method +- treats nil arguments as zero-width strings in %s slots + +Kernel.sprintf +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/srand_spec.rb +Kernel.srand +- is a private method +- srand should return the previous seed value +- srand should seed the RNG correctly and repeatably +- defaults number to a random value +- calls #to_i on number + +Kernel#srand +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/sub_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/syscall_spec.rb +Kernel#syscall +- is a private method + +Kernel.syscall +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/system_spec.rb +Kernel#system +- can run basic things that exist +- returns nil when command execution fails +- returns false when the command has a non-zero exit status +- does not write to stderr when it can't find a command +- uses /bin/sh if freaky shit is in the command +- is a private method +- expands shell variables when given a single string argument +- does not expand shell variables when given multiples arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/taint_spec.rb +Kernel#taint +- sets self to be tainted +- has no effect on immediate values + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/tainted_spec.rb +Kernel#tainted? +- returns true if Object is tainted + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/tap_spec.rb +Kernel#tap +- always yields self and returns self +- raises a LocalJumpError when no block given + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/test_spec.rb +Kernel#test +- is a private method +- returns true when passed ?f if the argument is a regular file +- returns true when passed ?e if the argument is a file +- returns true when passed ?d if the argument is a directory +- calls #to_path on second argument when passed ?f and a filename +- calls #to_path on second argument when passed ?e and a filename +- calls #to_path on second argument when passed ?d and a directory + +Kernel.test +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/throw_spec.rb +Kernel.throw +- transfers control to the end of the active catch block waiting for symbol +- transfers control to the innermost catch block waiting for the same sympol +- sets the return value of the catch block to nil by default +- sets the return value of the catch block to a value specified as second parameter +- raises an ArgumentError if there is no catch block for the symbol +- raises ArgumentError if 3 or more arguments provided +- can throw an object + +Kernel#throw +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/to_a_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/to_s_spec.rb +Kernel#to_s +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/trace_var_spec.rb +Kernel#trace_var +- is a private method + +Kernel.trace_var +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/trap_spec.rb +Kernel#trap +- is a private method + +Kernel.trap +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/trust_spec.rb +Kernel#trust +- clears the untrusted bit from a target object +- can not be called on frozen object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/type_spec.rb +Kernel#type +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/untaint_spec.rb +Kernel#untaint +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/untrace_var_spec.rb +Kernel#untrace_var +- is a private method + +Kernel.untrace_var +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/untrust_spec.rb +Kernel#untrusted? +- sets the untrusted bit on a target object +- can not be called on frozen object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/untrusted_spec.rb +Kernel#untrusted? +- returns the untrusted status of an object +- has no effect on immediate values + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/kernel/warn_spec.rb +Kernel.warn +- is a private method +- calls #write on $stderr if $VERBOSE is true +- calls #write on $stderr if $VERBOSE is false +- does not call #write on $stderr if $VERBOSE is nil +- writes the default record separator and NOT $/ to $stderr after the warning message + +Kernel#warn +- needs to be reviewed for spec completeness + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/marshal/dump_spec.rb +Marshal.dump +- raises an ArgumentError when the recursion limit is exceeded +- ignores the recursion limit if the limit is negative +- writes the serialized data to the IO-Object +- returns the IO-Object +- raises an Error when the IO-Object does not respond to #write +- raises an ArgumentError when given more than three arguments +- raises an Error when trying to dump an anonymous class/module +- raises a TypeError if _dump returns a non-string +- dumps an Object +- dumps an extended_object +- dumps an object having ivar (FAILED - ) +- dumps an extended_user_regexp having ivar (FAILED - ) +- raises a TypeError with hash having default proc +- raises a TypeError if marshalling a Method instance +- raises a TypeError if marshalling a Proc +- raises a TypeError if dumping a IO/File instance +- raises a TypeError if dumping a MatchData instance +- dumps an extended_user_hash_default (FAILED - ) +- dumps an extended_user_hash with a parameter to initialize (FAILED - ) +- dumps an array containing objects having _dump method (FAILED - ) +- dumps an array containing objects having marshal_dump method (FAILED - ) +- dumps an array containing the same objects (FAILED - ) +- dumps an extended_array having ivar (FAILED - ) +- dumps a struct having ivar +- dumps a struct having fields +- dumps an extended_struct having fields with same objects (FAILED - ) + +Marshal.dump +- dumps a nil +- dumps a 1..2 +- dumps a 1...2 +- dumps a 'a'..'b' +- dumps a Struct +- dumps a Symbol +- dumps a true +- dumps a false +- dumps a String empty (FAILED - ) +- dumps a String small (FAILED - ) +- dumps a String big (FAILED - ) +- dumps a String extended (FAILED - ) +- dumps a String subclass +- dumps a String subclass extended +- dumps a Symbol small +- dumps a Symbol big +- dumps a Bignum -2**64 +- dumps a Bignum -2**63 +- dumps a Fixnum -2**24 +- dumps a Fixnum -2**16 +- dumps a Fixnum -2**8 +- dumps a Fixnum -123 +- dumps a Fixnum 0 +- dumps a Fixnum 5 +- dumps a Fixnum 2**8 +- dumps a Fixnum 2**16 +- dumps a Fixnum 2**24 +- dumps a Bignum 2**64 +- dumps a Bignum 2**90 +- dumps a Class String +- dumps a Module Marshal +- dumps a Module nested +- dumps a _dump object (FAILED - ) +- dumps a _dump object extended (FAILED - ) +- dumps a marshal_dump object (FAILED - ) +- dumps a Regexp (FAILED - ) +- dumps a Regexp subclass /i (FAILED - ) +- dumps a Float 0.0 +- dumps a Float -0.0 +- dumps a Float Infinity +- dumps a Float -Infinity +- dumps a Float 1.0 +- dumps a Hash +- dumps a Hash subclass +- dumps a Array +- dumps a Array subclass + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/marshal/load_spec.rb +Marshal::load +- loads a extended_struct having fields with same objects +- loads a string having ivar with ref to self +- loads an extended_user_hash with a parameter to initialize +- loads a user-marshaled extended object +- loads a user_object +- loads a object +- loads an extended Object +- loads a object having ivar +- loads an extended Regexp +- loads a extended_user_regexp having ivar +- loads a Float NaN +- loads a Float 1.3 +- loads a Float -5.1867345e-22 +- loads a Float 1.1867345e+22 +- returns the value of the proc when called with a proc +- calls the proc for recursively visited data +- loads a array containing objects having _dump method, and with proc +- loads an array containing objects having marshal_dump method, and with proc +- loads an Array with proc +- loads a array containing the same objects +- loads an array having ivar +- loads a struct having ivar +- loads a struct having fields +- raises a TypeError with bad Marshal version +- raises EOFError on loading an empty file +- loads a nil +- loads a 1..2 +- loads a 1...2 +- loads a 'a'..'b' +- loads a Struct +- loads a Symbol +- loads a true +- loads a false +- loads a String empty +- loads a String small +- loads a String big +- loads a String extended +- loads a String subclass +- loads a String subclass extended +- loads a Symbol small +- loads a Symbol big +- loads a Bignum -2**64 +- loads a Bignum -2**63 +- loads a Fixnum -2**24 +- loads a Fixnum -4516727 +- loads a Fixnum -2**16 +- loads a Fixnum -2**8 +- loads a Fixnum -123 +- loads a Fixnum -124 +- loads a Fixnum 0 +- loads a Fixnum 5 +- loads a Fixnum 122 +- loads a Fixnum 123 +- loads a Fixnum 2**8 +- loads a Fixnum 2**16 +- loads a Fixnum 2**24 +- loads a Bignum 2**64 +- loads a Bignum 2**90 +- loads a Class String +- loads a Module Marshal +- loads a Module nested +- loads a _dump object +- loads a _dump object extended +- loads a marshal_dump object +- loads a Regexp +- loads a Regexp subclass /i +- loads a Float 0.0 +- loads a Float -0.0 +- loads a Float Infinity +- loads a Float -Infinity +- loads a Float 1.0 +- loads a Float 8323434.342 +- loads a Hash +- loads a Hash subclass +- loads a Array +- loads a Array subclass + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/marshal/restore_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/begin_spec.rb +MatchData#begin +- returns the offset of the start of the nth element + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/captures_spec.rb +MatchData#captures +- returns an array of the match captures + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/element_reference_spec.rb +MatchData#[] +- acts as normal array indexing [index] +- supports accessors [start, length] +- supports ranges [start..end] + +MatchData#[Symbol] +- returns the corresponding named match when given a Symbol +- returns the corresponding named match when given a String +- raises an IndexError if there is no named match corresponding to the Symbol +- raises an IndexError if there is no named match corresponding to the String +- returns matches in the String's encoding + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/end_spec.rb +MatchData#end +- returns the offset of the end of the nth element + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/eql_spec.rb +MatchData#eql? +- returns true if both operands have equal target strings, patterns, and match positions (FAILED - ) +- returns false if the operands have different target strings +- returns false if the operands have different patterns +- returns false if the argument is not a MatchData object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/equal_value_spec.rb +MatchData#== +- returns true if both operands have equal target strings, patterns, and match positions (FAILED - ) +- returns false if the operands have different target strings +- returns false if the operands have different patterns +- returns false if the argument is not a MatchData object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/initialize_copy_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/inspect_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/length_spec.rb +MatchData#length +- length should return the number of elements in the match array + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/names_spec.rb +MatchData#names +- returns an Array +- sets each element to a String +- returns the names of the named capture groups +- returns [] if there were no named captures +- returns each name only once +- equals Regexp#names + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/offset_spec.rb +MatchData#offset +- returns a two element array with the begin and end of the nth match + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/post_match_spec.rb +MatchData#post_match +- returns the string after the match equiv. special var $' + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/pre_match_spec.rb +MatchData#pre_match +- returns the string before the match, equiv. special var $` + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/regexp_spec.rb +MatchData#regexp +- returns a Regexp object +- returns the pattern used in the match + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/select_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/size_spec.rb +MatchData#size +- length should return the number of elements in the match array + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/string_spec.rb +MatchData#string +- returns a copy of the match string +- returns a frozen copy of the match string + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/to_a_spec.rb +MatchData#to_a +- returns an array of matches + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/to_s_spec.rb +MatchData#to_s +- returns the entire matched string + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/matchdata/values_at_spec.rb +MatchData#values_at +- returns an array of the matching value + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/acos_spec.rb +Math.acos +- returns a float +- returns the arccosine of the argument +- raises an Errno::EDOM if the argument is greater than 1.0 +- raises an Errno::EDOM if the argument is less than -1.0 +- raises a TypeError if the string argument cannot be coerced with Float() +- raises an TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#acos +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/acosh_spec.rb +Math.acosh +- returns a float +- returns the principle value of the inverse hyperbolic cosine of the argument +- it raises Errno::EDOM if the passed argument is less than -1.0 or greater than 1.0 +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#acosh +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/asin_spec.rb +Math.asin +- return a float +- returns the arcsine of the argument +- raises an Errno::EDOM if the argument is greater than 1.0 +- raises an Errno::EDOM if the argument is less than -1.0 +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#asin +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/asinh_spec.rb +Math.asinh +- returns a float +- returns the inverse hyperbolic sin of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#asinh +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/atan2_spec.rb +Math.atan2 +- returns a float +- returns the arc tangent of y, x +- raises an TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#atan2 +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/atan_spec.rb +Math.atan +- returns a float +- return the arctangent of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#atan +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/atanh_spec.rb +Math.atanh +- returns a float +- returns the inverse hyperbolic tangent of the argument +- raises an Errno::EDOM if x = 1.0 +- raises an Errno::EDOM if x = -1.0 +- raises an Errno::EDOM if the passed argument is greater than 1.0 +- raises an Errno::EDOM if the passed argument is less than -1.0 +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#atanh +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/constants_spec.rb +Math::PI +- approximates the value of pi +- is accessible to a class that includes Math + +Math::E +- approximates the value of Napier's constant +- is accessible to a class that includes Math + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/cos_spec.rb +Math.cos +- returns a float +- returns the cosine of the argument expressed in radians +- raises a TypeError unless the argument is Numeric and has #to_f +- raises a TypeError if the argument is nil +- coerces its argument with #to_f + +Math#cos +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/cosh_spec.rb +Math.cosh +- returns a float +- returns the hyperbolic cosine of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#cosh +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/erf_spec.rb +Math.erf +- returns a float +- returns the error function of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#erf +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/erfc_spec.rb +Math.erfc +- returns a float +- returns the complimentary error function of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#erfc +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/exp_spec.rb +Math.exp +- returns a float +- returns the base-e exponential of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#exp +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/frexp_spec.rb +Math.frexp +- returns the normalized fraction and exponent +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#frexp +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/hypot_spec.rb +Math.hypot +- returns a float +- returns the length of the hypotenuse of a right triangle with legs given by the arguments +- raises a TypeError if the argument cannot be coerced with Float() +- raises a ArgumentError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#hypot +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/ldexp_spec.rb +Math.ldexp +- returns a float +- returns the argument multiplied by 2**n +- raises a TypeError if the first argument cannot be coerced with Float() +- raises an TypeError if the second argument cannot be coerced with Integer() +- raises a TypeError if the first argument is nil +- raises a TypeError if the second argument is nil +- accepts any first argument that can be coerced with Float() +- accepts any second argument that can be coerced with Integer() + +Math#ldexp +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/log10_spec.rb +Math.log10 +- returns a float +- return the base-10 logarithm of the argument +- raises an Errno::EDOM if the argument is less than 0 +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#log10 +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/log2_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/log_spec.rb +Math.log +- returns a float +- returns the natural logarithm of the argument +- raises an Errno::EDOM if the argument is less than 0 +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#log +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/sin_spec.rb +Math.sin +- returns a float +- returns the sine of the argument expressed in radians +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#sin +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/sinh_spec.rb +Math.sinh +- returns a float +- returns the hyperbolic sin of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#sinh +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/sqrt_spec.rb +Math.sqrt +- returns a float +- returns the square root of the argument +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#sqrt +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/tan_spec.rb +Math.tan +- returns a float +- returns the tangent of the argument +- returns NaN if called with +-Infinitty +- raises a TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#tan +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/math/tanh_spec.rb +Math.tanh +- returns a float +- returns the hyperbolic tangent of the argument +- raises an TypeError if the argument cannot be coerced with Float() +- raises a TypeError if the argument is nil +- accepts any argument that can be coerced with Float() + +Math#tanh +- is accessible as a private instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/arity_spec.rb +Method#arity +- returns n, where n is the number of required arguments, when there are zero or more required arguments only +- returns -(n+1), where n is the number of required arguments, when there is at least one optional argument +- returns -(n+1), where n is the number of required arguments, when there is a splat argument, regardless of optional arguments +- returns the same value regardless of the presence of a block + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/call_spec.rb +Method#call +- invokes the method with the specified arguments, returning the method's return value +- raises an ArgumentError when given incorrect number of arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/clone_spec.rb +Method#clone +- returns a copy of the method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/element_reference_spec.rb +Method#[] +- invokes the method with the specified arguments, returning the method's return value +- raises an ArgumentError when given incorrect number of arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/eql_spec.rb +Method#eql? +- returns true if methods are the same +- returns true on aliased methods +- returns true if the two core methods are aliases (FAILED - ) +- returns false on a method which is neither aliased nor the same method +- returns false for a method which is not bound to the same object +- returns false if the two methods are bound to the same object but were defined independently +- returns true if a method was defined using the other one +- returns true for methods defined using the same block/proc (FAILED - ) +- returns true for the same method missing (ERROR - ) +- returns false if the two methods are bound to different objects, have the same names, and identical bodies +- returns false if the argument is not a Method object +- returns false if the argument is an unbound version of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/equal_value_spec.rb +Method#== +- returns true if methods are the same +- returns true on aliased methods +- returns true if the two core methods are aliases (FAILED - ) +- returns false on a method which is neither aliased nor the same method +- returns false for a method which is not bound to the same object +- returns false if the two methods are bound to the same object but were defined independently +- returns true if a method was defined using the other one +- returns true for methods defined using the same block/proc (FAILED - ) +- returns true for the same method missing (ERROR - ) +- returns false if the two methods are bound to different objects, have the same names, and identical bodies +- returns false if the argument is not a Method object +- returns false if the argument is an unbound version of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/inspect_spec.rb +Method#inspect +- returns a String +- returns a String for methods defined with attr_accessor +- returns a String containing 'Method' +- returns a String containing the method name +- returns a String containing the Module the method is defined in +- returns a String containing the Module the method is referenced from + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/name_spec.rb +Method#name +- returns the name of the method +- returns the name even when aliased + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/owner_spec.rb +Method#owner +- returns the owner of the method +- returns the name even when aliased +- returns the class/module it was defined in + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/parameters_spec.rb +Method#parameters +- returns an empty Array when the method expects no arguments (ERROR - ) +- returns [[:req,:name]] for a method expecting one required argument called 'name' (ERROR - ) +- returns [[:req,:a],[:req,:b]] for a method expecting two required arguments called 'a' and 'b'' (ERROR - ) +- returns [[:block,:a]] for a method expecting one block argument called 'a' (ERROR - ) +- returns [[:req,:a],[:block,:b] for a method expecting a required argument ('a') and a block argument ('b') (ERROR - ) +- returns [[:req,:a],[:req,:b],[:block,:c] for a method expecting two required arguments ('a','b') and a block argument ('c') (ERROR - ) +- returns [[:opt,:a]] for a method expecting one optional argument ('a') (ERROR - ) +- returns [[:req,:a],[:opt,:b]] for a method expecting one required argument ('a') and one optional argument ('b') (ERROR - ) +- returns [[:req,:a],[:opt,:b]] for a method expecting one required argument ('a') and one optional argument ('b') (ERROR - ) +- returns [[:req,:a],[:opt,:b],[:opt,:c]] for a method expecting one required argument ('a') and two optional arguments ('b','c') (ERROR - ) +- returns [[:req,:a],[:req,:b],[:opt,:c]] for a method expecting two required arguments ('a','b') and one optional arguments ('c') (ERROR - ) +- returns [[:opt,:a],[:block,:b]] for a method expecting one required argument ('a') and one block argument ('b') (ERROR - ) +- returns [[:req,:a],[:opt,:b],[:block,:c]] for a method expecting one required argument ('a'), one optional argument ('b'), and a block ('c') (ERROR - ) +- returns [[:req,:a],[:opt,:b],[:opt,:c],[:block,:d]] for a method expecting one required argument ('a'), two optional arguments ('b','c'), and a block ('d') (ERROR - ) +- returns [[:rest,:a]] for a method expecting a single splat argument ('a') (ERROR - ) +- returns [[:req,:a],[:rest,:b]] for a method expecting a splat argument ('a') and a required argument ('b') (ERROR - ) +- returns [[:req,:a],[:req,:b],[:rest,:c]] for a method expecting two required arguments ('a','b') and a splat argument ('c') (ERROR - ) +- returns [[:req,:a],[:opt,:b],[:rest,:c]] for a method expecting a required argument ('a','b'), an optional argument ('b'), and a splat argument ('c') (ERROR - ) +- returns [[:req,:a],[:req,:b],[:opt,:b],[:rest,:d]] for a method expecting two required arguments ('a','b'), an optional argument ('c'), and a splat argument ('d') (ERROR - ) +- returns [[:req,:a],[:opt,:b],[:opt,:c],[:rest,:d]] for a method expecting a required argument ('a'), two optional arguments ('b','c'), and a splat argument ('d') (ERROR - ) +- returns [[:rest,:a],[:block,:b]] for a method expecting a splat argument ('a') and a block argument ('b') (ERROR - ) +- returns [[:req,:a],[:rest,:b],[:block,:c]] for a method expecting a required argument ('a'), a splat argument ('b'), and a block ('c') (ERROR - ) +- returns [[:req,:a],[:req,:b],[:rest,:c],[:block,:d]] for a method expecting two required arguments ('a','b'), a splat argument ('c'), and a block ('d') (ERROR - ) +- returns [[:req,:a],[:opt,:b],[:rest,:c],[:block,:d]] for a method expecting a required argument ('a'), a splat argument ('c'), and a block ('d') (ERROR - ) +- returns [[:req,:a],[:req,:b],[:opt,:c],[:block,:d]] for a method expecting two required arguments ('a','b'), an optional argument ('c'), a splat argument ('d'), and a block ('e') (ERROR - ) +- returns [[:rest,:a],[:req,:b]] for a method expecting a splat argument ('a') and a required argument ('b') (ERROR - ) +- returns [[:rest,:a],[:req,:b],[:req,:c]] for a method expecting a splat argument ('a') and two required arguments ('b','c') (ERROR - ) +- returns [[:rest,:a],[:req,:b],[:block,:c]] for a method expecting a splat argument ('a'), a required argument ('b'), and a block ('c') (ERROR - ) +- works with ->(){} as the value of an optional argument (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/receiver_spec.rb +Method#receiver +- returns the receiver of the method +- returns the right receiver even when aliased + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/source_location_spec.rb +Method#source_location +- returns nil for built-in methods +- returns an Array +- sets the first value to the path of the file in which the method was defined +- sets the last value to a Fixnum representing the line on which the method was defined +- returns the last place the method was defined +- returns the location of the original method even if it was aliased + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/to_proc_spec.rb +Method#to_proc +- returns a Proc object corresponding to the method +- Proc object should have the correct arity +- returns a proc that can be used by define_method +- returns a proc that can be yielded to + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/to_s_spec.rb +Method#to_s +- returns a String +- returns a String for methods defined with attr_accessor +- returns a String containing 'Method' +- returns a String containing the method name +- returns a String containing the Module the method is defined in +- returns a String containing the Module the method is referenced from + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/method/unbind_spec.rb +Method#unbind +- returns an UnboundMethod +- returns a String containing 'UnboundMethod' +- returns a String containing the method name +- returns a String containing the Module the method is defined in +- returns a String containing the Module the method is referenced from +- rebinding UnboundMethod to Method's obj produces exactly equivalent Methods + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/alias_method_spec.rb +Module#alias_method +- makes a copy of the method +- retains method visibility +- fails if origin method not found +- converts a non string/symbol/fixnum name to string using to_str +- raises a TypeError when the given name can't be converted using to_str +- is a private method +- works in module +- works on private module methods in a module that has been reopened + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/allocate_spec.rb +Module.allocate +- returns an instance of Module +- returns a fully-formed instance of Module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/ancestors_spec.rb +Module#ancestors +- returns a list of modules included in self (including self) +- returns only modules and classes +- has 1 entry per module or class + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/append_features_spec.rb +Module#append_features +- gets called when self is included in another module/class + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/attr_accessor_spec.rb +Module#attr_accessor +- creates a getter and setter for each given attribute name +- converts non string/symbol/fixnum names to strings using to_str +- raises a TypeError when the given names can't be converted to strings using to_str +- applies current visibility to methods created + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/attr_reader_spec.rb +Module#attr_reader +- creates a getter for each given attribute name +- converts non string/symbol/fixnum names to strings using to_str +- raises a TypeError when the given names can't be converted to strings using to_str +- applies current visibility to methods created + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/attr_spec.rb +Module#attr +- creates a getter for the given attribute name +- creates a setter for the given attribute name if writable is true +- creates a getter and setter for the given attribute name if called with and without writeable is true +- applies current visibility to methods created +- creates a getter but no setter for all given attribute names +- applies current visibility to methods created +- converts non string/symbol/fixnum names to strings using to_str +- raises a TypeError when the given names can't be converted to strings using to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/attr_writer_spec.rb +Module#attr_writer +- creates a setter for each given attribute name +- converts non string/symbol/fixnum names to strings using to_str +- raises a TypeError when the given names can't be converted to strings using to_str +- applies current visibility to methods created + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/autoload_spec.rb +Module#autoload? +- returns the name of the file that will be autoloaded +- returns nil if no file has been registered for a constant + +Module#autoload +- registers a file to load the first time the named constant is accessed +- sets the autoload constant in the constants table +- loads the registered constant when it is accessed +- loads the registered constant into a dynamically created class +- loads the registered constant into a dynamically created module +- loads the registered constant when it is opened as a class +- loads the registered constant when it is opened as a module +- loads the registered constant when it is inherited from +- loads the registered constant when it is included +- does not load the file when the constant is already set +- loads a file with .rb extension when passed the name without the extension +- does not load the file if the file is manually required +- allows multiple autoload constants for a single file +- does not remove the constant from the constant table if load fails +- does not remove the constant from the constant table if the loaded files does not define it +- does not load the file when refering to the constant in defined? +- does not load the file when removing an autoload constant +- does not load the file when accessing the constants table of the module +- loads the file when opening a module that is the autoloaded constant +- calls #to_path on non-string filenames (ERROR - ) +- calls #to_path on non-string filenames (FAILED - ) +- raises an ArgumentError when an empty filename is given +- raises a NameError when the constant name starts with a lower case letter +- raises a NameError when the constant name starts with a number +- raises a NameError when the constant name has a space in it +- shares the autoload request across dup'ed copies of modules +- raises a TypeError if opening a class with a different superclass than the class defined in the autoload file +- raises a TypeError if not passed a String or object respodning to #to_path for the filename +- calls #to_path on non-String filename arguments (FAILED - ) +- calls #to_path on non-String filename arguments (FAILED - ) + +Module#autoload +- does not call Kernel#require or Kernel#load dynamically + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/case_compare_spec.rb +Module#=== +- returns true when the given Object is an instance of self or of self's descendants +- returns true when the given Object's class includes self or when the given Object is extended by self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/class_eval_spec.rb +Module#class_eval +- evaluates a given string in the context of self +- does not add defined methods to other classes +- defines constants in the receiver's scope +- evaluates a given block in the context of self +- uses the optional filename and lineno parameters for error messages +- converts non string eval-string to string using to_str +- raises a TypeError when the given eval-string can't be converted to string using to_str +- raises an ArgumentError when no arguments and no block are given +- raises an ArgumentError when more than 3 arguments are given +- raises an ArgumentError when a block and normal arguments are given + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/class_variable_defined_spec.rb +Module#class_variable_defined? +- returns true if a class variable with the given name is defined in self +- returns true if a class variable with the given name is defined in the metaclass +- returns true if a class variables with the given name is defined in an included module +- returns false if a class variables with the given name is defined in an extended module +- raises a NameError when the given name is not allowed +- converts a non string/symbol/fixnum name to string using to_str +- raises a TypeError when the given names can't be converted to strings using to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/class_variable_get_spec.rb +Module#class_variable_get +- returns the value of the class variable with the given name +- returns the value of a class variable with the given name defined in an included module +- raises a NameError for a class variables with the given name defined in an extended module +- returns class variables defined in the class body and accessed in the metaclass +- returns class variables defined in the metaclass and accessed by class methods +- returns class variables defined in the metaclass and accessed by instance methods +- raises a NameError when an uninitialized class variable is accessed +- raises a NameError when the given name is not allowed +- converts a non string/symbol/fixnum name to string using to_str +- raises a TypeError when the given names can't be converted to strings using to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/class_variable_set_spec.rb +Module#class_variable_set +- sets the class variable with the given name to the given value +- sets the value of a class variable with the given name defined in an included module +- raises a RuntimeError when self is frozen +- raises a NameError when the given name is not allowed +- converts a non string/symbol/fixnum name to string using to_str +- raises a TypeError when the given names can't be converted to strings using to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/class_variables_spec.rb +Module#class_variables +- returns an Array with the names of class variables of self +- returns an Array with names of class variables defined in metaclasses +- does not return class variables defined in extended modules + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/comparison_spec.rb +Module#<=> +- returns -1 if self is a subclass of or includes the given module +- returns 0 if self is the same as the given module +- returns +1 if self is a superclas of or included by the given module +- returns nil if self and the given module are not related +- returns nil if the argument is not a class/module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/const_defined_spec.rb +Module#const_defined? +- returns true if the given Symbol names a constant defined in the receiver +- returns true if the constant is defined in the reciever's superclass +- returns true if the constant is defined in a mixed-in module of the reciever +- returns true if the given String names a constant defined in the receiver +- returns false if the constant is not defined in the receiver, its superclass, or any included modules +- does not call #const_missing if the constant is not defined in the receiver +- calls #to_str to convert the given name to a String +- raises a NameError if the name does not start with a capital letter +- raises a NameError if the name starts with a non-alphabetic character +- raises a NameError if the name contains non-alphabetic characters except '_' +- raises a TypeError if conversion to a String by calling #to_str fails + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/const_get_spec.rb +Module#const_get +- accepts a String or Symbol name +- raises a NameError if no constant is defined in the search path +- raises a NameError if the name does not start with a capital letter +- raises a NameError if the name starts with a non-alphabetic character +- raises a NameError if the name contains non-alphabetic characters except '_' +- calls #to_str to convert the given name to a String +- raises a TypeError if conversion to a String by calling #to_str fails +- calls #const_missing on the receiver if unable to locate the constant +- does not search the singleton class of a Class or Module +- does not search the containing scope + +Module#const_get with statically assigned constants +- searches the immediate class or module first +- searches a module included in the immediate class before the superclass +- searches the superclass before a module included in the superclass +- searches a module included in the superclass +- searches the superclass chain +- returns a toplevel constant when the receiver is a Class +- returns a toplevel constant when the receiver is a Module + +Module#const_get with dynamically assigned constants +- searches the immediate class or module first +- searches a module included in the immediate class before the superclass +- searches the superclass before a module included in the superclass +- searches a module included in the superclass +- searches the superclass chain +- returns a toplevel constant when the receiver is a Class +- returns a toplevel constant when the receiver is a Module +- returns the updated value of a constant + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/const_missing_spec.rb +Module#const_missing +- is called when an undefined constant is referenced via literal form +- is called when an undefined constant is referenced via #const_get + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/const_set_spec.rb +Module#const_set +- sets the constant specified by a String or Symbol to the given value +- returns the value set +- raises a NameError if the name does not start with a capital letter +- raises a NameError if the name starts with a non-alphabetic character +- raises a NameError if the name contains non-alphabetic characters except '_' +- calls #to_str to convert the given name to a String +- raises a TypeError if conversion to a String by calling #to_str fails + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/constants_spec.rb +Module.constants +- returns an array of the names of all toplevel constants +- returns an array of Symbol names + +Module#constants +- returns an array of Symbol names of all constants defined in the moduleand all included modules +- includes names of constants defined after a module is included + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/define_method_spec.rb +Module#define_method when given an UnboundMethod +- correctly passes given arguments to the new method +- adds the new method to the methods list +- works for singleton classes too (ERROR - ) + +Module#define_method +- defines the given method as an instance method with the given name in self +- defines a new method with the given name and the given block as body in self +- raises a TypeError when the given method is no Method/Proc +- accepts a Method (still bound) +- maintains the Proc's scope + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/eql_spec.rb +Module#eql? +- returns true if self and the given module are the same + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/equal_spec.rb +Module#equal? +- returns true if self and the given module are the same + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/equal_value_spec.rb +Module#== +- returns true if self and the given module are the same + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/extend_object_spec.rb +Module#extend_object +- extends the given object with constants and methods of self +- is called when an object gets extended with self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/extended_spec.rb +Module#extended +- is called when an object gets extended with self +- is called after Module#extend_object +- is private in its default implementation + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/freeze_spec.rb +Module#freeze +- prevents further modifications to self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/gt_spec.rb +Module#> +- returns true if self is a superclass of or included by the given module +- returns false if self is the same as the given module +- returns nil if self is not related to the given module +- raises a TypeError if the argument is not a class/module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/gte_spec.rb +Module#>= +- returns true if self is a superclass of, the same as or included by given module +- returns nil if self is not related to the given module +- returns false if self is a subclass of or includes the given module +- raises a TypeError if the argument is not a class/module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/include_spec.rb +Module#include +- calls #append_features(self) in reversed order on each module +- adds all ancestor modules when a previously included module is included again +- raises a TypeError when the argument is not a Module +- does not raise a TypeError when the argument is an instance of a subclass of Module +- imports constants to modules and classes +- does not override existing constants in modules and classes +- imports instance methods to modules and classes +- imports constants to the toplevel +- does not import methods to modules and classes +- attaches the module as the caller's immediate ancestor +- doesn't include module if it is included in a super class +- recursively includes new mixins +- detects cyclic includes +- accepts no-arguments + +Module#include? +- returns true if the given module is included by self or one of it's ancestors +- raises a TypeError when no module was given + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/included_modules_spec.rb +Module#included_modules +- returns a list of modules included in self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/included_spec.rb +Module#included +- is invoked when self is included in another module or class +- allows extending self with the object into which it is being included +- is private in its default implementation + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/initialize_copy_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/initialize_spec.rb +Module#initialize +- accepts a block +- is called on subclasses + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/instance_method_spec.rb +Module#instance_method +- returns an UnboundMethod corresponding to the given name +- returns an UnboundMethod corresponding to the given name from a superclass +- returns an UnboundMethod corresponding to the given name from an included Module +- gives UnboundMethod method name, Module defined in and Module extracted from +- raises a TypeError if not passed a symbol +- raises a TypeError if the given name is not a string/symbol +- raises a NameError if the method has been undefined +- raises a NameError if the given method doesn't exist + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/instance_methods_spec.rb +Module#instance_methods +- does not return methods undefined in a superclass +- does not return methods undefined in a subclass +- does not return methods undefined in the current class +- does not return methods from an included module that are undefined in the class +- returns the public and protected methods of self if include_super is false +- returns the public and protected methods of self and it's ancestors + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/lt_spec.rb +Module#< +- returns true if self is a subclass of or includes the given module +- returns false if self is the same as the given module +- returns nil if self is not related to the given module +- raises a TypeError if the argument is not a class/module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/lte_spec.rb +Module#<= +- returns true if self is a subclass of, the same as or includes the given module +- returns nil if self is not related to the given module +- returns false if self is a superclass of or is included by the given module +- raises a TypeError if the argument is not a class/module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/method_added_spec.rb +Module#method_added +- is a private instance method +- returns nil in the default implementation +- is called when a new method is defined in self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/method_defined_spec.rb +Module#method_defined? +- returns true if a public or private method with the given name is defined in self, self's ancestors or one of self's included modules +- raises a TypeError when the given object is not a string/symbol/fixnum +- converts the given name to a string using to_str + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/method_removed_spec.rb +Module#method_removed +- is called when a method is removed from self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/method_undefined_spec.rb +Module#method_undefined +- is called when a method is undefined from self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/module_eval_spec.rb +Module#module_eval +- evaluates a given string in the context of self +- does not add defined methods to other classes +- defines constants in the receiver's scope +- evaluates a given block in the context of self +- uses the optional filename and lineno parameters for error messages +- converts non string eval-string to string using to_str +- raises a TypeError when the given eval-string can't be converted to string using to_str +- raises an ArgumentError when no arguments and no block are given +- raises an ArgumentError when more than 3 arguments are given +- raises an ArgumentError when a block and normal arguments are given + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/module_function_spec.rb +Module#module_function with specific method names +- creates duplicates of the given instance methods on the Module object +- returns the current module +- creates an independent copy of the method, not a redirect +- makes the instance methods private +- makes the new Module methods public +- tries to convert the given names to strings using to_str +- raises a TypeError when the given names can't be converted to string using to_str +- can make accessible private methods + +Module#module_function as a toggle (no arguments) in a Module body +- makes any subsequently defined methods module functions with the normal semantics +- returns the current module +- stops creating module functions if the body encounters another toggle like public/protected/private without arguments +- does not stop creating module functions if the body encounters public/protected/private WITH arguments +- does not affect module_evaled method definitions also if outside the eval itself +- has no effect if inside a module_eval if the definitions are outside of it +- functions normally if both toggle and definitions inside a module_eval +- affects evaled method definitions also even when outside the eval itself +- affects definitions when inside an eval even if the definitions are outside of it +- functions normally if both toggle and definitions inside a module_eval + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/name_spec.rb +Module#name +- returns nil by default +- preserves the encoding in which the class was defined +- returns the name of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/nesting_spec.rb +Module::Nesting +- returns the list of Modules nested at the point of call +- returns the nesting for module/class declaring the called method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/new_spec.rb +Module.new +- creates a new anonymous Module +- creates a new Module and passes it to the provided block +- evaluates a passed block in the context of the module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/private_class_method_spec.rb +Module#private_class_method +- makes an existing class method private +- makes an existing class method private up the inheritance tree +- accepts more than one method at a time +- raises a NameError if class method doesn't exist +- makes a class method private +- raises a NameError when the given name is not a method +- raises a NameError when the given name is an instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/private_instance_methods_spec.rb +Module#private_instance_methods +- returns a list of private methods in module and its ancestors +- when passed false as a parameter, should return only methods defined in that module +- default list should be the same as passing true as an argument + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/private_method_defined_spec.rb +Module#private_method_defined? +- returns true if the named private method is defined by module or its ancestors +- returns false if method is not a private method +- returns false if the named method is not defined by the module or its ancestors +- accepts symbols for the method name +- raises an TypeError if passed a Fixnum +- raises a TypeError if passed nil +- raises a TypeError if passed false +- raises a TypeError if passed an object that does not defined #to_str +- raises a TypeError if passed an object that defines #to_sym +- calls #to_str to coerce the passed object to a String + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/private_spec.rb +Module#private +- makes the target method uncallable from other types + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/protected_instance_methods_spec.rb +Module#protected_instance_methods +- returns a list of protected methods in module and its ancestors +- when passed false as a parameter, should return only methods defined in that module +- default list should be the same as passing true as an argument + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/protected_method_defined_spec.rb +Module#protected_method_defined? +- returns true if the named protected method is defined by module or its ancestors +- returns false if method is not a protected method +- returns false if the named method is not defined by the module or its ancestors +- accepts symbols for the method name +- raises a TypeError if not passed a Symbol +- accepts any object that is a String type + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/protected_spec.rb +Module#protected +- makes an existing class method protected + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/public_class_method_spec.rb +Module#public_class_method +- makes an existing class method public +- makes an existing class method public up the inheritance tree +- accepts more than one method at a time +- raises a NameError if class method doesn't exist +- makes a class method public +- raises a NameError when the given name is not a method +- raises a NameError when the given name is an instance method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/public_instance_methods_spec.rb +Module#public_instance_methods +- returns a list of public methods in module and its ancestors +- when passed false as a parameter, should return only methods defined in that module +- default list should be the same as passing true as an argument + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/public_method_defined_spec.rb +Module#public_method_defined? +- returns true if the named public method is defined by module or its ancestors +- returns false if method is not a public method +- returns false if the named method is not defined by the module or its ancestors +- accepts symbols for the method name +- raises a TypeError if not passed a Symbol +- accepts any object that is a String type + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/public_spec.rb +Module#public +- on a superclass method calls the redefined method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/remove_class_variable_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/remove_const_spec.rb +Module#remove_const +- removes the constant specified by a String or Symbol from the receiver's constant table +- returns the value of the removed constant +- raises a NameError if the constant is not defined directly in the module +- raises a NameError if the name does not start with a capital letter +- raises a NameError if the name starts with a non-alphabetic character +- raises a NameError if the name contains non-alphabetic characters except '_' +- calls #to_str to convert the given name to a String +- raises a TypeError if conversion to a String by calling #to_str fails +- is a private method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/remove_method_spec.rb +Module#remove_method +- removes the method from a class +- removes method from subclass, but not parent +- raises a NameError when attempting to remove method further up the inheritance tree +- raises a NameError when attempting to remove a missing method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/to_s_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/module/undef_method_spec.rb +Module#undef_method with symbol +- removes a method defined in a class +- removes a method defined in a super class +- does not remove a method defined in a super class when removed from a subclass + +Module#undef_method with string +- removes a method defined in a class +- removes a method defined in a super class +- does not remove a method defined in a super class when removed from a subclass + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/and_spec.rb +NilClass#& +- returns false + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/dup_spec.rb +NilClass#dup +- raises a TypeError + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/inspect_spec.rb +NilClass#inspect +- returns the string 'nil' + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/nil_spec.rb +NilClass#nil? +- returns true + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/or_spec.rb +NilClass#| +- returns false if other is nil or false, otherwise true + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/rationalize_spec.rb +NilClass#rationalize +- returns 0/1 (ERROR - ) +- ignores arguments (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/to_a_spec.rb +NilClass#to_a +- returns an empty array + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/to_f_spec.rb +NilClass#to_f +- returns 0.0 +- does not cause NilClass to be coerced to Float + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/to_i_spec.rb +NilClass#to_i +- returns 0 +- does not cause NilClass to be coerced to Fixnum + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/to_r_spec.rb +NilClass#to_r +- returns 0/1 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/to_s_spec.rb +NilClass#to_s +- returns the string '' + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/nil/xor_spec.rb +NilClass#^ +- returns false if other is nil or false, otherwise true + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/abs2_spec.rb +Numeric#abs2 +- returns the square of the absolute value of self +- calls #* on self +- returns NaN when self is NaN + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/abs_spec.rb +Numeric#abs +- returns self when self is greater than 0 +- returns self#@- when self is less than 0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/angle_spec.rb +Numeric#angle +- returns 0 if positive +- returns NaN if self is NaN +- returns Pi if negative +- returns Pi if -0.0 (FAILED - ) +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/arg_spec.rb +Numeric#arg +- returns 0 if positive +- returns NaN if self is NaN +- returns Pi if negative +- returns Pi if -0.0 (FAILED - ) +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/ceil_spec.rb +Numeric#ceil +- converts self to a Float (using #to_f) and returns the #ceil'ed result + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/coerce_spec.rb +Numeric#coerce +- returns [other, self] if self and other are instances of the same class +- calls #to_f to convert other if self responds to #to_f +- returns [other.to_f, self.to_f] if self and other are instances of different classes +- raises a TypeError when passed nil +- raises a TypeError when passed a boolean +- raises a TypeError when passed a Symbol +- raises an ArgumentError when passed a String + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/comparison_spec.rb +Numeric#<=> +- returns 0 if self equals other +- returns nil if self does not equal other + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/conj_spec.rb +Numeric#conj +- returns self +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/conjugate_spec.rb +Numeric#conjugate +- returns self +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/denominator_spec.rb +Numeric#denominator +- returns 1 +- works with Numeric subclasses + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/div_spec.rb +Numeric#div +- calls self#/ with other, then returns the #floor'ed result (ERROR - ) +- calls self#/ with other, then returns the #floor'ed result (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/divmod_spec.rb +Numeric#divmod +- returns [quotient, modulus], with quotient being obtained as in Numeric#div then #floor and modulus being obtained by calling self#- with quotient * other (ERROR - ) +- returns [quotient, modulus], with quotient being obtained as in Numeric#div then #floor and modulus being obtained by calling self#- with quotient * other (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/eql_spec.rb +Numeric#eql? +- returns false if self's and other's types don't match +- returns the result of calling self#== with other when self's and other's types match + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/fdiv_spec.rb +Numeric#fdiv +- coerces self with #to_f +- coerces other with #to_f +- performs floating-point division +- returns a Float +- returns Infinity if other is 0 +- returns NaN if other is NaN + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/floor_spec.rb +Numeric#floor +- converts self to a Float (using #to_f) and returns the #floor'ed result + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/i_spec.rb +Numeric#i +- returns a Complex object (ERROR - ) +- sets the real part to 0 (ERROR - ) +- sets the imaginary part to self (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/imag_spec.rb +Numeric#imag +- returns 0 +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/imaginary_spec.rb +Numeric#imaginary +- returns 0 +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/initialize_copy_spec.rb +Numeric#singleton_method_added +- raises a TypeError when trying to #dup a Numeric + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/integer_spec.rb +Numeric#integer? +- returns false + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/magnitude_spec.rb +Numeric#magnitude +- returns self when self is greater than 0 +- returns self#@- when self is less than 0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/modulo_spec.rb +Numeric#modulo +- returns the result of self#- (self#/ other) * other (ERROR - ) +- returns the result of self#- (self#/ other) * other (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/nonzero_spec.rb +Numeric#nonzero? +- returns self if self#zero? is false +- returns nil if self#zero? is true + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/numerator_spec.rb +Numeric#numerator +- converts self to a Rational object then returns its numerator +- works with Numeric subclasses + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/phase_spec.rb +Numeric#phase +- returns 0 if positive +- returns NaN if self is NaN +- returns Pi if negative +- returns Pi if -0.0 (FAILED - ) +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/polar_spec.rb +Numeric#polar +- returns a two-element Array +- sets the first value to the absolute value of self +- sets the last value to 0 if self is positive +- sets the last value to Pi if self is negative +- returns [NaN, NaN] if self is NaN + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/quo_spec.rb +Numeric#quo +- returns the result of calling self#/ with other + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/rationalize_spec.rb +Numeric#rationalize +- returns a Rational object (ERROR - ) +- uses self as the numerator (ERROR - ) +- uses 1 as the denominator (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/real_spec.rb +Numeric#real +- returns self +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/rect_spec.rb +Numeric#rect +- returns an Array +- returns a two-element Array +- returns self as the first element +- returns 0 as the last element +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/rectangular_spec.rb +Numeric#rectangular +- returns an Array +- returns a two-element Array +- returns self as the first element +- returns 0 as the last element +- raises an ArgumentError if given any arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/remainder_spec.rb +Numeric#remainder +- returns the result of calling self#% with other if self is 0 +- returns the result of calling self#% with other if self and other are greater than 0 +- returns the result of calling self#% with other if self and other are less than 0 +- returns the result of calling self#% with other - other if self is greater than 0 and other is less than 0 +- returns the result of calling self#% with other - other if self is less than 0 and other is greater than 0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/round_spec.rb +Numeric#round +- converts self to a Float (using #to_f) and returns the #round'ed result + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/singleton_method_added_spec.rb +Numeric#singleton_method_added +- raises a TypeError when trying to define a singleton method on a Numeric + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/step_spec.rb +Numeric#step with [stop, step] +- raises an ArgumentError when step is 0 +- returns an Enumerator when passed no block and self > stop +- returns an Enumerator when passed no block and self < stop +- increments self (using #+) until self > stop when step > 0 +- decrements self (using #-) until self < stop when step < 0 + +Numeric#step with [stop, step] when self, stop and step are Fixnums +- raises an ArgumentError when step is 0 +- yields only Fixnums +- defaults to step = 1 + +Numeric#step with [stop, +step] when self, stop and step are Fixnums +- yields while increasing self by step until stop is reached +- yields once when self equals stop +- does not yield when self is greater than stop + +Numeric#step with [stop, -step] when self, stop and step are Fixnums +- yields while decreasing self by step until stop is reached +- yields once when self equals stop +- does not yield when self is less than stop + +Numeric#step with [stop, step] when self, stop or step is a Float +- raises an ArgumentError when step is 0 +- yields only Floats + +Numeric#step with [stop, +step] when self, stop or step is a Float +- yields while increasing self by step until stop is reached +- yields once when self equals stop +- does not yield when self is greater than stop + +Numeric#step with [stop, -step] when self, stop or step is a Float +- yields while decreasing self by step until stop is reached +- yields once when self equals stop +- does not yield when self is less than stop + +Numeric#step +- doesn't catch errors + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/to_c_spec.rb +Numeric#to_c +- returns a Complex object +- uses self as the real component +- uses 0 as the imaginary component + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/to_int_spec.rb +Numeric#to_int +- returns self#to_i + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/truncate_spec.rb +Numeric#truncate +- converts self to a Float (using #to_f) and returns the #truncate'd result + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/uminus_spec.rb +Numeric#-@ +- should return the same value with opposite sign (integers) +- should return the same value with opposite sign (floats) +- should return the same value with opposite sign (two complement) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/uplus_spec.rb +Numeric#+@ +- returns self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/numeric/zero_spec.rb +Numeric#zero? +- returns true if self is 0 +- returns false if self is not 0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/clone_spec.rb +Object#clone +- returns a new object duplicated from the original +- produces a shallow copy, contained objects are not recursively dupped +- calls #initialize_copy on the NEW object if available, passing in original object +- preserves tainted state from the original +- preserves untrusted state from the original +- preserves frozen state from the original + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/dup_spec.rb +Object#dup +- returns a new object duplicated from the original +- produces a shallow copy, contained objects are not recursively dupped +- calls #initialize_copy on the NEW object if available, passing in original object +- preserves tainted state from the original +- preserves untrusted state from the original +- does not preserve frozen state from the original + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/initialize_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/instance_of_spec.rb +Object#instance_of? +- returns true if given class is object's class +- returns false if given class is object's ancestor class +- returns false if given class is not object's class nor object's ancestor class +- returns false if given a Module that is included in object's class +- returns false if given a Module that is included one of object's ancestors only +- returns false if given a Module that is not included in object's class +- raises a TypeError if given an object that is not a Class nor a Module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/is_a_spec.rb +Object#is_a? +- returns true if given class is the object's class +- returns true if given class is an ancestor of the object's class +- returns false if the given class is not object's class nor an ancestor +- returns true if given a Module that is included in object's class +- returns true if given a Module that is included one of object's ancestors only +- returns true if given a Module that object has been extended with +- returns false if given a Module not included in object's class nor ancestors +- raises a TypeError if given an object that is not a Class nor a Module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/kind_of_spec.rb +Object#kind_of? +- returns true if given class is the object's class +- returns true if given class is an ancestor of the object's class +- returns false if the given class is not object's class nor an ancestor +- returns true if given a Module that is included in object's class +- returns true if given a Module that is included one of object's ancestors only +- returns true if given a Module that object has been extended with +- returns false if given a Module not included in object's class nor ancestors +- raises a TypeError if given an object that is not a Class nor a Module + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/match_spec.rb +Object =~ +- returns nil matching any object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/metaclass_spec.rb +Object#metaclass +- returns the object's metaclass + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/object/new_spec.rb +Object.new +- creates a new Object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/_id2ref_spec.rb +ObjectSpace._id2ref +- converts an object id to a reference to the object + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/add_finalizer_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/call_finalizer_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/define_finalizer_spec.rb +ObjectSpace.define_finalizer +- raises an ArgumentError if the action does not respond to call +- accepts an object and a proc +- accepts an object and a callable + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/each_object_spec.rb +ObjectSpace.each_object +- calls the block once for each living, non-immediate object in the Ruby process +- calls the block once for each class, module in the Ruby process +- returns an enumerator if not given a block + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/finalizers_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/garbage_collect_spec.rb +ObjectSpace.garbage_collect +- can be invoked without any exceptions +- doesn't accept any arguments +- ignores the supplied block +- always returns nil + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/remove_finalizer_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/objectspace/undefine_finalizer_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/precision/included_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/precision/prec_f_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/precision/prec_i_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/precision/prec_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/arity_spec.rb +Proc#arity +- returns the number of arguments, using Proc.new +- returns the number of arguments, using Kernel#lambda +- return the number of arguments, using Kernel#proc +- if optional arguments, return the negative number of mandatory arguments using Proc.new +- if optional arguments, return the negative number of mandatory arguments using Kernel#lambda +- if optional arguments, return the negative number of mandatory arguments using Kernel#proc +- returns 0 if no argument declaration is made, using Kernel#lambda +- returns 0 if no argument declaration is made, using Kernel#proc +- returns 0 if no argument declaration is made, using Proc.new + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/binding_spec.rb +Proc#binding +- returns a Binding instance +- returns the binding associated with self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/block_pass_spec.rb +Proc as a block pass argument +- remains the same object if re-vivified by the target method +- remains the same object if reconstructed with Proc.new + +Proc as an implicit block pass argument +- remains the same object if re-vivified by the target method +- remains the same object if reconstructed with Proc.new + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/call_spec.rb +Proc#call +- invokes self +- sets self's parameters to the given values +- can receive block arguments + +Proc#call on a Proc created with Proc.new +- replaces missing arguments with nil +- silently ignores extra arguments +- auto-explodes a single Array argument + +Proc#call on a Proc created with Kernel#lambda or Kernel#proc +- ignores excess arguments when self is a proc +- substitutes nil for missing arguments when self is a proc +- raises an ArgumentError on excess arguments when self is a lambda +- raises an ArgumentError on missing arguments when self is a lambda +- treats a single Array argument as a single argument when self is a lambda +- treats a single Array argument as a single argument when self is a proc + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/case_compare_spec.rb +Proc#=== +- invokes self +- sets self's parameters to the given values +- can receive block arguments + +Proc#=== on a Proc created with Proc.new +- replaces missing arguments with nil +- silently ignores extra arguments +- auto-explodes a single Array argument + +Proc#=== on a Proc created with Kernel#lambda or Kernel#proc +- ignores excess arguments when self is a proc +- substitutes nil for missing arguments when self is a proc +- raises an ArgumentError on excess arguments when self is a lambda +- raises an ArgumentError on missing arguments when self is a lambda +- treats a single Array argument as a single argument when self is a lambda +- treats a single Array argument as a single argument when self is a proc + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/clone_spec.rb +Proc#clone +- returns a copy of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/curry_spec.rb +Proc#curry +- returns a Proc when called on a proc +- returns a Proc when called on a lambda +- calls the curried proc with the arguments if sufficient arguments have been given +- returns a Proc that consumes the remainder of the arguments unless sufficient arguments have been given +- can be called multiple times on the same Proc +- can be passed superfluous arguments if created from a proc +- raises an ArgumentError if passed superfluous arguments when created from a lambda +- returns Procs with arities of -1 + +Proc#curry with arity argument +- accepts an optional Integer argument for the arity +- returns a Proc when called on a proc +- returns a Proc when called on a lambda +- retains the lambda-ness of the Proc on which its called +- raises an ArgumentError if called on a lambda that requires more than _arity_ arguments +- raises an ArgumentError if called on a lambda that requires fewer than _arity_ arguments +- calls the curried proc with the arguments if _arity_ arguments have been given +- returns a Proc that consumes the remainder of the arguments when fewer than _arity_ arguments are given +- can be specified multiple times on the same Proc +- can be passed more than _arity_ arguments if created from a proc +- raises an ArgumentError if passed more than _arity_ arguments when created from a lambda +- returns Procs with arities of -1 regardless of the value of _arity_ + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/dup_spec.rb +Proc#dup +- returns a copy of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/element_reference_spec.rb +Proc#[] +- invokes self +- sets self's parameters to the given values +- can receive block arguments + +Proc#call on a Proc created with Proc.new +- replaces missing arguments with nil +- silently ignores extra arguments +- auto-explodes a single Array argument + +Proc#call on a Proc created with Kernel#lambda or Kernel#proc +- ignores excess arguments when self is a proc +- substitutes nil for missing arguments when self is a proc +- raises an ArgumentError on excess arguments when self is a lambda +- raises an ArgumentError on missing arguments when self is a lambda +- treats a single Array argument as a single argument when self is a lambda +- treats a single Array argument as a single argument when self is a proc + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/eql_spec.rb +Proc#eql? +- returns true if self and other are the same object +- returns true if self and other are both procs with the same body +- returns true if self and other are both lambdas with the same body +- returns true if self and other are different kinds of procs but have the same body +- returns true if the bodies of self and other are identical but represented by different objects +- returns false if other is not a Proc +- returns false if self and other are both procs but have different bodies +- returns false if self and other are both lambdas but have different bodies +- returns false if self and other are different kinds of procs and have different bodies + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/equal_value_spec.rb +Proc#== +- returns true if self and other are the same object +- returns true if self and other are both procs with the same body +- returns true if self and other are both lambdas with the same body +- returns true if self and other are different kinds of procs but have the same body +- returns true if the bodies of self and other are identical but represented by different objects +- returns false if other is not a Proc +- returns false if self and other are both procs but have different bodies +- returns false if self and other are both lambdas but have different bodies +- returns false if self and other are different kinds of procs and have different bodies + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/hash_spec.rb +Proc#hash +- is provided +- returns an Integer +- is stable +- does not depend on whether self is a proc or lambda + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/lambda_spec.rb +Proc#lambda? +- returns true if the object was created with the lambda keyword +- returns false if the object was created with the proc keyword +- returns false if the object was created with Proc.new +- returns true if the object was created with Proc#curry + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/new_spec.rb +Proc.new with an associated block +- returns a proc that represents the block +- raises a LocalJumpError when context of the block no longer exists +- returns from within enclosing method when 'return' is used in the block + +Proc.new without a block +- raises an ArgumentError +- raises an ArgumentError if invoked from within a method with no block +- returns a new Proc instance from the block passed to the containing method + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/parameters_spec.rb +Proc#parameters +- returns an empty Array for a proc expecting no parameters (ERROR - ) +- returns an Array of Arrays for a proc expecting parameters (ERROR - ) +- sets the first element of each sub-Array to :opt for optional arguments (ERROR - ) +- regards named parameters in procs as optional (ERROR - ) +- regards parameters with default values as optional (ERROR - ) +- sets the first element of each sub-Array to :req for required arguments (ERROR - ) +- regards named parameters in lambdas as required (ERROR - ) +- sets the first element of each sub-Array to :rest for parameters prefixed with asterisks (ERROR - ) +- sets the first element of each sub-Array to :block for parameters prefixed with ampersands (ERROR - ) +- sets the second element of each sub-Array to the name of the argument (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/source_location_spec.rb +Proc#source_location +- returns an Array +- sets the first value to the path of the file in which the proc was defined +- sets the last value to a Fixnum representing the line on which the proc was defined +- works even if the proc was created on the same line +- returns the first line of a multi-line proc (i.e. the line containing 'proc do') +- returns the location of the proc's body; not necessarily the proc itself + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/to_proc_spec.rb +Proc#to_proc +- returns self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/to_s_spec.rb +Proc#to_s +- returns a description of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/proc/yield_spec.rb +Proc#yield +- invokes self +- sets self's parameters to the given values +- can receive block arguments + +Proc#yield on a Proc created with Proc.new +- replaces missing arguments with nil +- silently ignores extra arguments +- auto-explodes a single Array argument + +Proc#yield on a Proc created with Kernel#lambda or Kernel#proc +- ignores excess arguments when self is a proc +- substitutes nil for missing arguments when self is a proc +- raises an ArgumentError on excess arguments when self is a lambda +- raises an ArgumentError on missing arguments when self is a lambda +- treats a single Array argument as a single argument when self is a lambda +- treats a single Array argument as a single argument when self is a proc + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/abort_spec.rb +Process.abort +- terminates execution immediately + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/constants_spec.rb +Process::Constants +- has the correct constant values on Linux + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/detach_spec.rb +Process#detach +- requires one argument +- returns a thread +- reaps the child process's status automatically + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/egid_spec.rb +Process.egid +- returns the effective group ID for this process +- also goes by Process::GID.eid +- also goes by Process::Sys.getegid + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/euid_spec.rb +Process.euid +- returns the effective user ID for this process +- also goes by Process::UID.eid +- also goes by Process::Sys.geteuid + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/exit_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/fork_spec.rb +Process.fork +- is implemented +- return nil for the child process +- runs a block in a child process + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/getpgid_spec.rb +Process.getpgid +- requires one argument +- returns the process group ID for the given process id +- returns the process group ID for the calling process id when passed 0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/getpgrp_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/getpriority_spec.rb +Process.getpriority +- takes two arguments +- gets the scheduling priority for a specified process +- gets the scheduling priority for a specified process group +- gets the scheduling priority for a specified user + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/getrlimit_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/gid_spec.rb +Process.gid +- returns the correct gid for the user executing this process +- also goes by Process::GID.rid +- also goes by Process::Sys.getgid + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/groups_spec.rb +Process.groups +- takes no arguments +- gets an Array of the gids of groups in the supplemental group access list +- sets the list of gids of groups in the supplemental group access list + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/initgroups_spec.rb +Process.initgroups +- requires two arguments +- initializes the supplemental group access list + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/kill_spec.rb +Process.kill +- requires at least two arguments +- raises an ArgumentError for unknown signals +- doesn't accept lowercase signal names +- doesn't tolerate leading or trailing spaces in signal names +- tests for the existence of a process without sending a signal +- raises an EPERM if permission is denied + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/maxgroups_spec.rb +Process.maxgroups +- returns the maximum number of gids allowed in the supplemental group access list +- sets the maximum number of gids allowed in the supplemental group access list + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/pid_spec.rb +Process.pid +- returns the process id of this process + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/ppid_spec.rb +Process.ppid +- returns the process id of the parent of this process + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/setpgid_spec.rb +Process.setpgid +- requires two arguments +- sets the process group id of the specified process + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/setpgrp_spec.rb +Process.setpgrp and Process.getpgrp +- take no arguments +- set and get the process group ID of the calling process + +Process.setpgrp and Process.getpgrp Process.setpgrp +- returns zero + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/setpriority_spec.rb +Process.setpriority +- takes three arguments +- sets the scheduling priority for a specified process group +- sets the scheduling priority for a specified user + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/setrlimit_spec.rb +Process.setrlimit +- requires at least two arguments + +Process.getrlimit +- requires one argument + +Process.setrlimit and Process.getrlimit +- limit and get core size (bytes) +- limit and get CPU time (seconds) +- limit and get data segment (bytes) +- limit and get file size (bytes) +- limit and get file descriptors (number) +- limit and get stack size (bytes) +- limit and get total available memory (bytes) +- limit and get total size for mlock(2) (bytes) +- limit and get number of processes for the user (number) +- limit and get resident memory size (bytes) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/setsid_spec.rb +Process.setsid +- takes no arguments +- establishes this process as a new session and process group leader + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/times_spec.rb +Process.times +- returns a Struct::Tms +- returns current cpu times + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/uid_spec.rb +Process.uid +- returns the correct uid for the user executing this process +- also goes by Process::UID.rid +- also goes by Process::Sys.getuid + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/wait2_spec.rb +Process.wait2 +- returns the pid and status of child process +- raises a StandardError if no child processes exist + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/wait_spec.rb +Process.wait +- raises a Errno::ECHILD if there are no child processes +- returns its childs pid +- sets $? to a Process::Status +- waits for any child process if no pid is given +- waits for a specific child if a pid is given +- waits for a child whose process group ID is that of the calling process +- doesn't block if no child is available when WNOHANG is used +- always accepts flags=0 + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/waitall_spec.rb +Process.waitall +- returns an empty array when there are no children +- takes no arguments +- waits for all children +- returns an array of pid/status pairs + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/waitpid2_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/process/waitpid_spec.rb +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/bytes_spec.rb +Random#bytes +- returns a String (ERROR - ) +- returns a String of the length given as argument (ERROR - ) +- returns an ASCII-8BIT String (ERROR - ) +- returns the same output for a given seed (ERROR - ) +- returns a random binary String (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/equal_value_spec.rb +Random#== +- returns true if the two objects have the same state (ERROR - ) +- returns false if the two objects have different state (ERROR - ) +- returns true if the two objects have the same seed (ERROR - ) +- returns false if the two objects have a different seed (ERROR - ) +- returns false if the other object is not a Random (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/new_seed_spec.rb +Random.new_seed +- returns a Bignum (ERROR - ) +- returns an arbitrary seed value each time (ERROR - ) +- returns a number less than 40 digits long (ERROR - ) +- is not affected by Kernel#srand (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/new_spec.rb +Random.new +- returns a new instance of Random (ERROR - ) +- uses a random seed value if none is supplied (ERROR - ) +- accepts an Integer seed value as an argument (ERROR - ) +- accepts (and truncates) a Float seed value as an argument (ERROR - ) +- accepts (and converts to Integer) a Rational seed value as an argument (ERROR - ) +- accepts (and converts to Integer) a Complex (w/ imaginary part) seed value as an argument (ERROR - ) +- raises a RangeError if passed a Complex (with imaginary part) seed value as an argument (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/rand_spec.rb +Random.rand +- returns a Float if no max argument is passed (ERROR - ) +- returns a Float >= 0 if no max argument is passed (ERROR - ) +- returns a Float < 1 if no max argument is passed (ERROR - ) +- returns the same sequence for a given seed if no max argument is passed (ERROR - ) +- returns a Integer if an Integer argument is passed (ERROR - ) +- returns an Integer >= 0 if an Integer argument is passed (ERROR - ) +- returns an Integer < the max argument if an Integer argument is passed (ERROR - ) +- returns the same sequence for a given seed if an Integer argument is passed (ERROR - ) +- coerces arguments to Integers with #to_int (ERROR - ) +- coerces arguments to Integers with #to_int (FAILED - ) + +Random#rand with Fixnum +- returns an Integer (ERROR - ) +- returns a Fixnum greater than or equal to 0 (ERROR - ) +- returns a Fixnum less than the argument (ERROR - ) +- returns the same sequence for a given seed (ERROR - ) +- raises an ArgumentError when the argument is 0 (FAILED - ) +- raises an ArgumentError when the argument is negative (FAILED - ) + +Random#rand with Bignum +- returns a Bignum (ERROR - ) +- returns a Bignum greater than or equal to 0 (ERROR - ) +- returns a Bignum less than the argument (ERROR - ) +- returns the same sequence for a given seed (ERROR - ) +- raises an ArgumentError when the argument is negative (FAILED - ) + +Random#rand with Float +- returns a Float (ERROR - ) +- returns a Float greater than or equal to 0.0 (ERROR - ) +- returns a Float less than the argument (ERROR - ) +- returns the same sequence for a given seed (ERROR - ) +- raises an ArgumentError when the argument is negative (FAILED - ) + +Random#rand with Range +- returns an element from the Range (ERROR - ) +- returns an object that is a member of the Range (ERROR - ) +- works with inclusive ranges (ERROR - ) +- works with exclusive ranges (ERROR - ) +- returns the same sequence for a given seed (ERROR - ) +- allows the startpoint to be an object of a different class to the endpoint (FAILED - ) +- raises an ArgumentError when the startpoint lacks #+ and #- methods (FAILED - ) +- raises an ArgumentError when the endpoint lacks #+ and #- methods (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/seed_spec.rb +Random#seed +- returns an Integer (ERROR - ) +- returns an arbitrary seed if the constructor was called without arguments (ERROR - ) +- returns the same generated seed when repeatedly called on the same object (ERROR - ) +- returns the seed given in the constructor (ERROR - ) +- returns the given seed coerced with #to_int (ERROR - ) +- returns the given seed coerced with #to_int (FAILED - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/random/srand_spec.rb +Random.srand +- returns an arbitrary seed if .srand wasn't called previously with an argument and no argument is supplied this time (ERROR - ) +- returns the previous argument to .srand if one was given and no argument is supplied (ERROR - ) +- returns an arbitrary seed if .srand wasn't called previously with an argument and 0 is supplied this time (ERROR - ) +- returns the previous argument to .srand if one was given and 0 is supplied (ERROR - ) +- seeds Random.rand such that its return value is deterministic (ERROR - ) +- seeds Kernel.rand such that its return value is deterministic (ERROR - ) + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/begin_spec.rb +Range#begin +- returns the first element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/case_compare_spec.rb +Range#=== +- returns true if other is an element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/cover_spec.rb +Range#cover? +- raises an ArgumentError without exactly one argument +- returns true if argument is equal to the first value of the range +- returns true if argument is equal to the last value of the range +- returns true if argument is less than the last value of the range and greater than the first value +- returns true if argument is sole element in the range +- returns false if range is empty +- returns false if the range does not contain the argument +- uses the range element's <=> to make the comparison +- uses a continuous inclusion test + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/each_spec.rb +Range#each +- passes each element to the given block by using #succ +- raises a TypeError if the first element does not respond to #succ +- returns self +- returns an enumerator when no block given + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/end_spec.rb +Range#end +- end returns the last element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/eql_spec.rb +Range#eql? +- returns true if other has same begin, end, and exclude_end? values +- returns false if other is no Range + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/equal_value_spec.rb +Range#== +- returns true if other has same begin, end, and exclude_end? values +- returns false if other is no Range + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/exclude_end_spec.rb +Range#exclude_end? +- returns true if the range exludes the end value + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/first_spec.rb +Range#first +- returns the first element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/hash_spec.rb +Range#hash +- is provided +- generates the same hash values for Ranges with the same start, end and exclude_end? values + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/include_spec.rb +Range#include? +- returns true if other is an element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/initialize_spec.rb +Range#initialize +- is private +- raises an ArgumentError if passed without or with only an argument +- raises a NameError if passed with two or three arguments +- raises an ArgumentError if passed with four or more arguments + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/inspect_spec.rb +Range#inspect +- provides a printable form, using #inspect to convert the start and end objects + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/last_spec.rb +Range#last +- end returns the last element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/max_spec.rb +Range#max +- returns the maximum value in the range when called with no arguments +- returns the maximum value in the Float range when called with no arguments +- returns nil when the endpoint is less than the start point +- returns nil when the endpoint is less than the start point in a Float range + +Range#max given a block +- passes each pair of values in the range to the block +- passes each pair of elements to the block in reversed order +- calls #> and #< on the return value of the block +- returns the element the block determines to be the maximum + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/member_spec.rb +Range#member? +- returns true if other is an element of self + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/min_spec.rb +Range#min +- returns the minimum value in the range when called with no arguments +- returns the minimum value in the Float range when called with no arguments +- returns nil when the start point is greater than the endpoint +- returns nil when the start point is greater than the endpoint in a Float range + +Range#min given a block +- passes each pair of values in the range to the block +- passes each pair of elements to the block where the first argument is the current element, and the last is the first element +- calls #> and #< on the return value of the block +- returns the element the block determines to be the minimum + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/new_spec.rb +Range.new +- constructs a range using the given start and end +- includes the end object when the third parameter is omitted or false +- raises an ArgumentError when the given start and end can't be compared by using #<=> + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/step_spec.rb +Range#step +- passes each nth element to the block +- raises an ArgumentError if stepsize is 0 or negative +- raises a TypeError if the first element does not respond to #succ +- returns self +- raises TypeError if the argument is non-numeric +- coerces the argument to integer by invoking to_int +- returns an enumerator when no block given + +/home/chkbuild/tmp/build/ruby-1.9.1//rubyspec/core/range/to_a_spec.rb +Range#to_a +- converts self to an array +- works with Ranges of Symbols[FATAL] failed to allocate memory +exit 1 +failed(rubyspec) == end #