[Ruby project, language submission check (1)] How to quickly learn Ruby?

Source: Internet
Author: User

How to quickly learn Ruby?

The fastest way to learn a language.

Variables, constants, variable types, operators,

Logical statements such as if, else, switch, for, foreach, do while, break, and so on. What is the language to learn similar to these commands? Learn how to use it.

Then, if it is object-oriented, you need to know about object operations.

There are no function libraries, which are generally used in languages. Output command functions, Operation arrays, Operation strings, and Object Attributes

Operate text files

Another is to create objects, classes, and arrays.

 

Now you can use this language to do things.

Let's implement our ideas quickly.

 

This system Article is one of my learning logging articles.

The goal is to quickly learn the ruby language and use this language to write a task for submitting SVN or git, and perform certain checks and filtering before submission.

 

Difficulties:

1. Ruby Language Learning

2. SVN or git operations

3. Check Method (I don't know about this. So I want to learn about it, but I also know that it is very difficult, just to check variables, parentheses or something. Then there is the format and so on. The deeper is the syntax check, and the deeper is the semantic check. As far as my capabilities are concerned, I will definitely use existing open-source software instead of Ruby. So as long as the function can be implemented, let's talk about it later .) Check the language here. You may first check Ruby or PHP. I did not expect it now. Check the first two implementations. You can write only a small piece of code to test them. So it is not difficult.

 

Generally, a development environment is required before the start, so I can achieve this: (Mac OSX System)

Http://blog.csdn.net/wide288/article/details/30055483

 

Ubuntu 12.04

Https://github.com/ruby-china/ruby-china/wiki/Ubuntu-12.04-%E4%B8%8A%E4%BD%BF%E7%94%A8-Nginx-Passenger-%E9%83%A8%E7%BD%B2-Ruby-on-Rails

 

Go to your environment and find a solution. If this is the case, you cannot implement it. I don't think you are suitable for learning this. Change to something you can do better. Not that you are not smart, but you have not found a suitable one.

 

Okay. Maybe it's my fault. Give us another chance:

Http://lrthw.github.io/ex00/

 

If this still doesn't help, I can't help. Don't count on me to rewrite this.

 

Next, let's learn this language quickly. In the next article, I will see the general appearance of this language. I can write simple things.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.