# LearnRuby **Repository Path**: simpleyy_admin/LearnRuby ## Basic Information - **Project Name**: LearnRuby - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ##Ruby学习 主要记录学习Ruby语言的笔记和代码 **学习资料:** * [Ruby 教程(中文版)](http://www.runoob.com/ruby/ruby-tutorial.html) * [Ruby教程(英文版)](http://www.tutorialspoint.com/ruby/index.htm) * [Ruby官网](https://www.ruby-lang.org/zh_cn/documentation/), * [Ruby官网教程](http://ruby-doc.org/docs/Tutorial/) * [Ruby学习资源列表](https://ruby-china.org/topics/7284) * [Learn Ruby the hard way](http://learnrubythehardway.org/book/)。 **书籍:** * [Ruby元编程](http://book.douban.com/subject/7056800/) **社区** * [Ruby China](https://ruby-china.org/) **MySQL** * [MySQL教程](http://www.runoob.com/mysql/mysql-tutorial.html) ##如何使用 * 1.将代码clone下来 * 2.cd至LearnRuby相应目录下 * 3.ruby XX.rb即可(其中ruby XX.rb true会将源代码打印出来,但过滤掉注释,ruby XX.rb false则不会过滤,不填写true 或者false则只输出结果不打印源代码和注释) ##学习进度 * [Ruby 数组(Array)](http://www.runoob.com/ruby/ruby-array.html)->[array.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/array.rb) * [Ruby 块](http://www.runoob.com/ruby/ruby-block.html)->[block.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/block.rb) * [Ruby 类和对象](http://www.runoob.com/ruby/ruby-class.html)->[classAndObject.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/classAndObject.rb) * [Ruby数据类型](http://www.runoob.com/ruby/ruby-datatypes.html)->[datatype.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/datatype.rb) * [Ruby 日期 & 时间(Date & Time)](http://www.runoob.com/ruby/ruby-date-time.html)->[dateAndTime.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/dateAndTime.rb) * [Ruby 条件判断](http://www.runoob.com/ruby/ruby-decision.html)->[decision.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/decision.rb) * [Ruby Dir 类和方法](http://www.runoob.com/ruby/ruby-dir-methods.html)->[dir.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/dir.rb) * [Ruby 异常](http://www.runoob.com/ruby/ruby-exceptions.html)->[exceptions.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/exceptions.rb) * [Ruby File 类和方法](http://www.runoob.com/ruby/ruby-file-methods.html)->[filemethod.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/filemethod.rb) * [Ruby 语法](http://www.runoob.com/ruby/ruby-syntax.html)->[grammer.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/grammer.rb) * [Ruby 哈希(Hash)](http://www.runoob.com/ruby/ruby-hash.html)->[hash.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/hash.rb) * [Ruby 文件的输入与输出](http://www.runoob.com/ruby/ruby-input-output.html)->[io.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/io.rb) * [Ruby 迭代器](http://www.runoob.com/ruby/ruby-iterators.html)->[iterate.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/iterate.rb) * [Ruby 循环](http://www.runoob.com/ruby/ruby-loop.html)->[loop.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/loop.rb) * [Ruby 方法](http://www.runoob.com/ruby/ruby-method.html)->[method.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/method.rb) * [Ruby 模块(Module)](http://www.runoob.com/ruby/ruby-module.html)->[module.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/module.rb) * [Ruby 范围(Range)](http://www.runoob.com/ruby/ruby-range.html)->[range.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/range.rb) * [Ruby 字符串(String)](http://www.runoob.com/ruby/ruby-string.html)->[string.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/string.rb) * [Ruby 变量](http://www.runoob.com/ruby/ruby-variable.html)->[variable.rb](https://github.com/JohnTsaiAndroid/LearnRuby/tree/master/RubyBasic/variable.rb) ##Ruby On Rails **学习资料** * [《Ruby on Rails 教程》](http://railstutorial-china.org/book/) * [Ruby on Rails 指南](http://guides.ruby-china.org/) * [ROR官网](http://rubyonrails.org/) * [如何从零开始学会 Rails](https://ruby-china.org/wiki/start_leaning_rails) ## Ruby Tips * 1.Ruby版本管理[RVM](https://rvm.io/) * 2.Ruby安装工具[Ruby-Install](https://github.com/postmodern/ruby-install) * 3.Ruby和Rails安装教程[https://ruby-china.org/wiki/install_ruby_guide](https://ruby-china.org/wiki/install_ruby_guide)