Actions
Bug #11075
closedRational literal undocumented
    Bug #11075:
    Rational literal undocumented
  
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.2.2
Description
From the 2.2.2 docs for the Rational class: "In ruby, you can create rational object with Rational, #to_r or rationalize method."
The new 2/6r literal remains unmentioned.
        
           Updated by hsbt (Hiroshi SHIBATA) over 10 years ago
          Updated by hsbt (Hiroshi SHIBATA) over 10 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Applied in changeset r50406.
- rational.c: Added documentation for rational literal.
 [Bug #11075][fix GH-885][ci skip] Patch by @shishir127
        
           Updated by usa (Usaku NAKAMURA) over 10 years ago
          Updated by usa (Usaku NAKAMURA) over 10 years ago
          
          
        
        
      
      - Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED
        
           Updated by usa (Usaku NAKAMURA) over 10 years ago
          Updated by usa (Usaku NAKAMURA) over 10 years ago
          
          
        
        
      
      - Backport changed from 2.0.0: DONTNEED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED
ruby_2_1 r50579 merged revision(s) 50406,50407.
        
           Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago
          Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago
          
          
        
        
      
      - Backport changed from 2.0.0: DONTNEED, 2.1: DONE, 2.2: REQUIRED to 2.0.0: DONTNEED, 2.1: DONE, 2.2: DONE
Backported into ruby_2_2 at r50627.
Actions