U:RDoc::NormalClass[iI"Symbol:ET@I"Object;To:RDoc::Markup::Document:@parts[
o;;[ :
@fileI"$ext/json/lib/json/add/symbol.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"BSymbol
objects represent names and some strings ;TI"inside the Ruby ;TI"Finterpreter. They are generated using the :name
and ;TI"%:"string"
literals ;TI"Fsyntax, and by the various to_sym
methods. The same ;TI"KSymbol
object will be created for a given name or string ;TI"Jfor the duration of a program's execution, regardless of the context ;TI"Ior meaning of that name. Thus if Fred
is a constant in ;TI"Cone context, a method in another, and a class in a third, the ;TI"GSymbol
:Fred
will be the same object in ;TI"all three contexts.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"module One
;TI" class Fred
;TI" end
;TI" $f1 = :Fred
;TI" end
;TI"module Two
;TI" Fred = 1
;TI" $f2 = :Fred
;TI" end
;TI"def Fred()
;TI" end
;TI"$f3 = :Fred
;TI"!$f1.object_id #=> 2514190
;TI"!$f2.object_id #=> 2514190
;TI" $f3.object_id #=> 2514190;T:@format0; I"
string.c;T;
0o;;[ ; I"*ext/bigdecimal/lib/bigdecimal/util.rb;T;
0o;;[o;;[I"#Add double dispatch to Integer;T; I""ext/openssl/lib/openssl/bn.rb;T;
0o;;[o;;[I"?When mathn is required, Integer's division is enhanced to ;TI">return more precise values from mathematical expressions.;To; o;
;[
I"2/3*3 # => 0
;TI"require 'mathn'
;TI"2/3*3 # => 2
;TI"
;TI"&(2**72) / ((2**70) * 3) # => 4/3;T;0; I"lib/mathn.rb;T;
0o;;[ ; I"lib/prime.rb;T;
0o;;[ ; I"lib/rexml/xpath_parser.rb;T;
0o;;[o;;[I"DHolds Integer values. You cannot add a singleton method to an ;TI"IInteger. Any attempt to add a singleton method to an Integer object ;TI"will raise a TypeError.;T; I"numeric.c;T;
0; 0;
0[ [U:RDoc::Constant[i I"GMP_VERSION;TI"Integer::GMP_VERSION;T00o;;[o;;[I"The version of loaded GMP.;T@?; I"
bignum.c;T;
0@a@cRDoc::NormalClass0[[I"Comparable;To;;[ ; @/;
0I"
string.c;T[[I"
class;T[[:public[[I"all_symbols;T@h[I"json_create;FI"$ext/json/lib/json/add/symbol.rb;T[:protected[ [:private[[I"each_prime;FI"lib/prime.rb;T[I"from_prime_division;F@z[I"
instance;T[[;[![I"<=>;T@h[I"==;T@h[I"===;T@h[I"=~;T@h[I"[];T@h[I"as_json;F@s[I"capitalize;T@h[I"casecmp;T@h[I"
casecmp?;T@h[I"
downcase;T@h[I"empty?;T@h[I"
encoding;T@h[I"id2name;T@h[I"inspect;T@h[I"intern;T@h[I"length;T@h[I"
match;T@h[I"match?;T@h[I" next;T@h[I" size;T@h[I"
slice;T@h[I" succ;T@h[I"
swapcase;T@h[I"to_json;F@s[I"to_proc;T@h[I" to_s;T@h[I"to_sym;T@h[I"upcase;T@h[;[ [;[<[I"%;TI"numeric.c;T[I"&;T@»[I"*;T@»[I"**;T@»[I"+;T@»[I"-;T@»[I"-@;T@»[I"/;T@»[I"<;T@»[I"<<;T@»[I"<=;T@»[I">;T@»[I">=;T@»[I">>;T@»[I"^;T@»[I"abs;T@»[I"bit_length;T@»[I" ceil;T@»[I"chr;T@»[I"coerce;TI"
bignum.c;T[I"dclone;FI"lib/rexml/xpath_parser.rb;T[I"denominator;TI"rational.c;T[I"digits;T@»[I"div;T@»[I"divmod;T@»[I"downto;T@»[I"
even?;T@»[I" fdiv;T@»[I"
floor;T@»[I"gcd;T@è[I"gcdlcm;T@è[I"
integer?;T@»[I"lcm;T@è[I"magnitude;T@»[I"modulo;T@»[I"numerator;T@è[I" odd?;T@»[I"ord;T@»[I" pred;T@»[I"prime?;F@z[I"prime_division;F@z[I"rationalize;T@è[I"remainder;T@»[I"
round;T@»[I"
times;T@»[I"
to_bn;FI""ext/openssl/lib/openssl/bn.rb;T[I" to_d;FI"*ext/bigdecimal/lib/bigdecimal/util.rb;T[I" to_f;T@»[I" to_i;T@»[I"to_int;T@»[I" to_r;T@è[I"
truncate;T@»[I" upto;T@»[I"|;T@»[I"~;T@»[ [U:RDoc::Context::Section[i 0o;;[ ; 0;
0[@
I"lib/rexml/xpath_parser.rb;T@/@JcRDoc::TopLevel