?? e6.4-1.rb
字號:
#E6.4-1.rb
class Person
def talk
puts "Hello! "
end
end
p1=Person.new
p2=Person.new
def p2.talk
puts "Here is p2. "
end
def p2.laugh
puts "ha,ha,ha... "
end
p1.talk
p2.talk
p2.laugh
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -