九月 26, 2007

OM19’s Time-An amateur in photography, administration, design, programming…

UI乐园 - BlogBus.com

小甲的博课

Variables and Assignments: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial  Annotated

Keywords can’t be used as variable names. def is a keyword

    Fun with Strings: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial  Annotated

    does not have anything in it at all; we call that an empty string.
      puts ‘It\’s my Ruby’ 
        n Ruby, strings are mutable. They can expand as needed, without using much time and memory. Ruby stores a string as a sequence of bytes.
          The command output string is sent to the operating system as a command to be executed

            Numbers in Ruby: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial  Annotated

            Ruby integers are objects of class Fixnum or Bignum. The Fixnum and Bignum classes represent integers of differing sizes. Both classes descend from Integer (and therefore Numeric). The floating-point numbers are objects of class Float, corresponding to the native architecture’s double data type.

              没有评论 »

              还没有评论。

              RSS方式的评论。 TrackBack URI

              发表评论

              提示:如果你刚刚提交过评论,但是还没有被显示出来,请点击这里刷新一下: 刷新评论