Rails

Páginas: 2 (480 palabras) Publicado: 3 de diciembre de 2012
DEFAULT DIRECTORY STRUCTURE

rails_root
app
apis
controllers
application.rb
helpers
application_helper.rb
models

Methods
Strings
capitalize!
center
chomp!
chop!
concat
count
cryptdelete!
downcase!
dump
each
each_byte
empty?
gsub!
hash
hex
include?
index
intern
length
ljust, rjust
next!
oct
replace
reverse!
rindex
scan
slice!
split
squeeze!
strip!
sub!sum
swapcase!
tr!
tr_s!
unpack
upcase!
upto
Regex
escape
last_match
new
quote
casefold?
kcode
match
source
Time
asctime
ctime
day
gmt?
gmtime
hour
isdst
localtime
mday
minmon
month
sec
strftime
tv_sec
tv_usec
usec
utc
utc?
wday
yday
year
zone

views
layouts
components
config

Methods

PRE-DEFINED VARIABLES

$!

Exception information

$&String of last match

$`

String left of last match

$'

String right of last match

$+

Last group of last match

$N

Nth group of last match

$=

Case insensitive flag

$/Input record separator

$\

Output record separator

$,

Output field separator

$.

Current line number of
last file read

test.rb
database.yml
environment.rb
routes.rb
db
doc
liblog
development.log

Name of script

$*

Command line arguments

$stderr

Standard error output

$stdin

Standard input

$stdout

Standard output

$-a

True if -a is set.Status of -d switch
True if -l is set

$-p

production.rb

Last input line of string

$0

$-l

development.rb

Default output for print

$_

$-d

environments

$>

True if -p isset

$-v

Verbose Flag

production.log
server.log
test.log
public
images
javascripts
controls.js
dragdrop.js
effects.js
prototype.js
stylesheets
.htaccess
404.html
500.htmldispatch.cgi
dispatch.fcgi
dispatch.rb
favicon.ico
index.html
script

RESERVED WORDS

=begin

elsif

rescue

=end

end

retry

BEGIN

ensure

return

END

false

self

alias...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • rails
  • Presentacion Ruby on Rails
  • ruby on rails
  • Introducción a ruby on rails
  • Tutorial básico ruby on rails
  • Ruby On Rails
  • Ruby On Rails Introduction
  • Ruby on Rails v3

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS