Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Fixnum/cdesc-Fixnum.yaml |
--- !ruby/object:RI::ClassDescription
attributes: []
class_methods:
- !ruby/object:RI::MethodSummary
name: induced_from
comment:
- !ruby/struct:SM::Flow::P
body: A <tt>Fixnum</tt> holds <tt>Integer</tt> values that can be represented in a native machine word (minus 1 bit). If any operation on a <tt>Fixnum</tt> exceeds this range, the value is automatically converted to a <tt>Bignum</tt>.
- !ruby/struct:SM::Flow::P
body: <tt>Fixnum</tt> objects have immediate value. This means that when they are assigned or passed as parameters, the actual object is passed, rather than a reference to that object. Assignment does not alias <tt>Fixnum</tt> objects. There is effectively only one <tt>Fixnum</tt> object instance for any given integer value, so, for example, you cannot add a singleton method to a <tt>Fixnum</tt>.
constants: []
full_name: Fixnum
includes:
- !ruby/object:RI::IncludedModule
name: Precision
instance_methods:
- !ruby/object:RI::MethodSummary
name: "%"
- !ruby/object:RI::MethodSummary
name: "&"
- !ruby/object:RI::MethodSummary
name: "*"
- !ruby/object:RI::MethodSummary
name: "**"
- !ruby/object:RI::MethodSummary
name: "**"
- !ruby/object:RI::MethodSummary
name: +
- !ruby/object:RI::MethodSummary
name: "-"
- !ruby/object:RI::MethodSummary
name: -@
- !ruby/object:RI::MethodSummary
name: /
- !ruby/object:RI::MethodSummary
name: /
- !ruby/object:RI::MethodSummary
name: <
- !ruby/object:RI::MethodSummary
name: "<<"
- !ruby/object:RI::MethodSummary
name: <=
- !ruby/object:RI::MethodSummary
name: <=>
- !ruby/object:RI::MethodSummary
name: ==
- !ruby/object:RI::MethodSummary
name: ">"
- !ruby/object:RI::MethodSummary
name: ">="
- !ruby/object:RI::MethodSummary
name: ">>"
- !ruby/object:RI::MethodSummary
name: "[]"
- !ruby/object:RI::MethodSummary
name: ^
- !ruby/object:RI::MethodSummary
name: abs
- !ruby/object:RI::MethodSummary
name: dclone
- !ruby/object:RI::MethodSummary
name: div
- !ruby/object:RI::MethodSummary
name: divmod
- !ruby/object:RI::MethodSummary
name: even?
- !ruby/object:RI::MethodSummary
name: fdiv
- !ruby/object:RI::MethodSummary
name: id2name
- !ruby/object:RI::MethodSummary
name: modulo
- !ruby/object:RI::MethodSummary
name: odd?
- !ruby/object:RI::MethodSummary
name: power!
- !ruby/object:RI::MethodSummary
name: quo
- !ruby/object:RI::MethodSummary
name: quo
- !ruby/object:RI::MethodSummary
name: rdiv
- !ruby/object:RI::MethodSummary
name: rpower
- !ruby/object:RI::MethodSummary
name: size
- !ruby/object:RI::MethodSummary
name: to_f
- !ruby/object:RI::MethodSummary
name: to_s
- !ruby/object:RI::MethodSummary
name: to_sym
- !ruby/object:RI::MethodSummary
name: zero?
- !ruby/object:RI::MethodSummary
name: "|"
- !ruby/object:RI::MethodSummary
name: "~"
name: Fixnum
superclass: Integer