Changes between Version 6 and Version 7 of SummaryRuby


Ignore:
Timestamp:
11/15/14 16:04:41 (3 years ago)
Author:
thanatermesis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SummaryRuby

    v6 v7  
     1 
     2Reserved words in ruby 2.1: 
     3|| __ENCODING__ || def      || in     || self   || 
     4|| __LINE__     || defined? || module || super  || 
     5|| __FILE__     || do       || next   || then   || 
     6|| BEGIN        || else     || nil    || true   || 
     7|| END          || elsif    || not    || undef  || 
     8|| alias        || end      || or     || unless || 
     9|| and          || ensure   || redo   || until  || 
     10|| begin        || false    || rescue || when   || 
     11|| break        || for      || retry  || while  || 
     12|| case         || if       || return || yield  || 
     13|| class        ||          ||        ||        || 
     14 
     15 
    116{{{ 
    217#!ruby 
     
    1328# Classes: 
    1429class Animal 
    15     # this sets a public id/varible that can be used for our objects, 
     30    # this sets a public id/varible that can be used for our objects,gg 
    1631    # independently of being or not declared in the class, we can already use them 
    1732    attr_accessor :lenght, :color  # both read and write