Yours Truly, Famous Inc.
Ruby is simple in appearance, but is very complex inside, just like our human body.
Yukihiro Matsumoto
avenger = 'Tony Stark'
avenger.upcase!
3.times { puts avenger }
public class Avenger {
public static void main(String []args){
String avenger = "Tony Stark";
avenger = avenger.toUpperCase();
for (int i = 0; i < 3; i++) {
System.out.println(avenger);
}
}
}
class Movie < ApplicationRecord
belongs_to :studio
has_many :actors
validates :title, presence: true
end
Subiremos agora uma aplicação Rails utilizando o passo-a-passo contido neste link .