Ruby基础[Programing ruby笔记]

简介: 命名约定 Rails约定   安装和调试 ruby186-27_rc2.exe: 这个包含编辑工具scite、语言例子代码、Programming Ruby书等 本地安装:rails-2.

命名约定

clip_image002

clip_image004

Rails约定

clip_image006

clip_image008

clip_image010

clip_image012

clip_image014

clip_image016

clip_image018

 

安装和调试

ruby186-27_rc2.exe: 这个包含编辑工具scite、语言例子代码、Programming Ruby书等

本地安装:rails-2.2.2.zip 解压后

gem install rails –l rails-2.2.2.gem

联网安装最新的版本

gem install rails

相关文章
|
Ruby
[Ruby]ruby笔记02
Ruby数据类型 数字 整数型(1,0,100,1e3) 浮点型(2.5,7.0,0.99,1.1e3) 数字前可以有前缀0表示8进制,0x表示十六进制,0b表示8进制 ...
555 0
|
Ruby
[Ruby]ruby笔记01
hello world print("hello world") 运行 ruby hello.rb 注释 单行注释:以#开始,后加注释 多行注释:①使用多个#来注释②写在=begin和=end之间 字符串长度 `print(“hello world”.
676 0
|
索引 Ruby
Ruby Rails 笔记 [rails for dot net developers节选]
• In Ruby’s object-oriented world, we work with objects and methods. Unlike VB .NET, where some subroutines return a value (Functions) and others do not (Subs), all Ruby methods must return a value.
1178 0
|
2月前
|
Ruby
|
2月前
|
Ruby
|
1月前
|
数据采集 Web App开发 数据处理
Ruby网络爬虫教程:从入门到精通下载图片
Ruby网络爬虫教程:从入门到精通下载图片
|
2月前
|
JSON 数据格式 Ruby
|
2月前
|
JSON Ubuntu Linux