Sha256: 3e235231127c3e10498b53a9a21cfe102f5c50b2a12f641e6bf282e99ea978b0
Contents?: true
Size: 1.96 KB
Versions: 12
Compression:
Stored size: 1.96 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name:[]:@docstringIC:YARD::Docstring"Bit Reference---Returns the <em>n</em>th bit in the binary representation of <i>fix</i>, where <i>fix</i>[0] is the least significant bit. a = 0b11001100101010 30.downto(0) do |n| print a[n] end <em>produces:</em> 0000000000000000011001100101010 :@objectu:YARD::StubProxyFixnum#[]: @summary0: @all"%Bit Reference---Returns the <em>n</em>th bit in the binary representation of <i>fix</i>, where <i>fix</i>[0] is the least significant bit. a = 0b11001100101010 30.downto(0) do |n| print a[n] end <em>produces:</em> 0000000000000000011001100101010 @overload [](n) @return [0, 1]:@ref_tags[ : @tags[o:YARD::Tags::OverloadTag ; u;Fixnum#[];;;IC; "