1 Star 0 Fork 0

codes_test/ruby-tutorial

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Ruby Programming Tutorial

  • This tutorial helps beginners easy to learn and approach Ruby step by step.
  • It is designed basically but still has enough important knowledge to learn about Ruby on Rails.

Table of contents

  • Getting Started

    • Introduction
    • Installation
    • Running Ruby
    • Official Documents
  • Variables

    • What is a variable?
    • Examples
  • Constants

    • What is a constant?
    • Example
    • Tips
  • Comments

    • What is a comment?
    • Single line comments
    • Multiline comments
  • Strings

    • What is a String in Ruby?
    • Interpolation
    • Indexing
    • Common methods
  • Numbers

    • Integers
    • Floats
    • Operaters
    • Convert numbers
  • True, False and Nil

  • Symbols

    • What is a symbol in Ruby?
    • Examples
    • Common methods
  • Blocks

    • What is a block in Ruby?
    • Examples
    • Variables for block
  • Arrays

    • Create an Array
    • Indexing
    • Accessing elements
    • Iteration
    • Common methods
  • Range

    • Create a Range
    • Iteration
    • Common methods
  • Hashes

    • Create a Hash
    • Accessing value by key
    • Iteration
    • Common Uses
  • Date & Time

  • Control Flow

    • if
    • else
    • elsif
    • unless
    • case
  • Methods

    • Defining a method
    • Default parameters in method
  • Classes

    • Defining a Class
    • Constructor
    • Accessing methods levels
    • Accessing instance variables
  • Module

    • Mixin
    • Module as Namespace
    • Modules and Class Composition

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/codes_test/ruby-tutorial.git
git@gitee.com:codes_test/ruby-tutorial.git
codes_test
ruby-tutorial
ruby-tutorial
master

搜索帮助