Sha256: 0f022188d2f11b65900608fc7efaf4da56bf8d0a8094ce909d89fdad7d60e970

Contents?: true

Size: 1.22 KB

Versions: 12

Compression:

Stored size: 1.22 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:<=:@docstringIC:YARD::Docstring"sReturns <code>true</code> if the value of <code>fix</code> is
less thanor equal to that of <code>other</code>.
:@objectu:YARD::StubProxyFixnum#<=:
@summary0:	@all"˜Returns <code>true</code> if the value of <code>fix</code> is
less thanor equal to that of <code>other</code>.


@overload <=(other)
  @return [Boolean]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Fixnum#<=;;;IC;	"
;
u;Fixnum#<=;0;
"@return [Boolean];[;[o:YARD::Tags::Tag
;
0;0:@types["Boolean:
@text":@tag_name"return;0:@parameters[[:
other0;0:@signature"<=(other);"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["numeric.c0:@namespaceu;Fixnum:
@path"Fixnum#<=;[:@visibility:public:@source"’/*
 * call-seq:
 *   fix <= other     => true or false
 *
 * Returns <code>true</code> if the value of <code>fix</code> is
 * less thanor equal to that of <code>other</code>.
 */

static VALUE
fix_le(x, y)
    VALUE x, y;
{
    if (FIXNUM_P(y)) {
    long a = FIX2LONG(x), b = FIX2LONG(y);

    if (a <= b) return Qtrue;
    return Qfalse;
    }
    else {
    return rb_num_coerce_relop(x, y);
    }
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Fixnum/_3C_3D_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Fixnum/_3C_3D_i.dat