Skip to content

springhibernate/quick_in_ruby

Repository files navigation

Preface

  1. this tutorial provided that you have learned a programming language ever,such as c
  2. this tutorial used for quick in ruby,it is only about the most used of ruby and won't mention all detail.if you want to know all detail,recommend "programming ruby" to you
  3. the code of this tutorial run succeffully on windows
  4. it will firstly show a piece of code each section,you can scan it for a while without understanding it 5. all,because there is a detail explanation after the code
  5. you'd better try the code on your machine character by character and change some some to see the running result,then you will get more profit

Contents

helloworld
flow
string
method
block
array
hash
file and directory
class and object
getter and setter
extend and override
exception
module

前言(Preface for Chinese)

  1. 本教程假设你学过一门语言(如c语言)
  2. 本教程意在ruby的快速入门,只会说到常用的,其它一概不说(想了解ruby的所有细节,推荐你看programming ruby这本书)
  3. 本教程的运行系统是windows
  4. 每一节都先上来一段代码,大致看一下就可以,看不明白没关系,因为接着后面是详细的解释
  5. 你一定要动手敲打一下教程里的所有代码运行查看结果(最好尝试修改部分代码看一下效果),才会有更大的收获

目录(Contents for Chinese)

helloworld
条件分支和循环
字符串
方法

数组
哈希
文件和目录
类和对象
存取器
继承和覆盖
异常
模块

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages