File tree Expand file tree Collapse file tree 3 files changed +17
-19
lines changed
Expand file tree Collapse file tree 3 files changed +17
-19
lines changed Original file line number Diff line number Diff line change 292292 "description" : " Quick start title"
293293 },
294294 "homepage.quickStart.step1.title" : {
295- "message" : " T-Rubyをインストール " ,
295+ "message" : " プロジェクトを初期化 " ,
296296 "description" : " Step 1 title"
297297 },
298298 "homepage.quickStart.step2.title" : {
299- "message" : " .trbファイルを作成 " ,
299+ "message" : " ウォッチモードを開始 " ,
300300 "description" : " Step 2 title"
301301 },
302302 "homepage.quickStart.step3.title" : {
303- "message" : " コンパイルして実行 " ,
303+ "message" : " 型付きRubyを書く " ,
304304 "description" : " Step 3 title"
305305 },
306306 "homepage.quickStart.cta" : {
Original file line number Diff line number Diff line change 292292 "description" : " Quick start title"
293293 },
294294 "homepage.quickStart.step1.title" : {
295- "message" : " T-Ruby 설치 " ,
295+ "message" : " 프로젝트 초기화 " ,
296296 "description" : " Step 1 title"
297297 },
298298 "homepage.quickStart.step2.title" : {
299- "message" : " .trb 파일 생성 " ,
299+ "message" : " 감시 모드 시작 " ,
300300 "description" : " Step 2 title"
301301 },
302302 "homepage.quickStart.step3.title" : {
303- "message" : " 컴파일 및 실행 " ,
303+ "message" : " 타입이 있는 Ruby 작성 " ,
304304 "description" : " Step 3 title"
305305 },
306306 "homepage.quickStart.cta" : {
Original file line number Diff line number Diff line change @@ -246,10 +246,11 @@ function QuickStartSection() {
246246 < div className = { styles . stepNumber } > 1</ div >
247247 < div className = { styles . stepContent } >
248248 < Heading as = "h3" >
249- < Translate id = "homepage.quickStart.step1.title" > Install T-Ruby </ Translate >
249+ < Translate id = "homepage.quickStart.step1.title" > Initialize project </ Translate >
250250 </ Heading >
251251 < CodeBlock language = "bash" >
252- gem install t-ruby
252+ { `gem install t-ruby
253+ trc --init` }
253254 </ CodeBlock >
254255 </ div >
255256 </ div >
@@ -258,14 +259,10 @@ function QuickStartSection() {
258259 < div className = { styles . stepNumber } > 2</ div >
259260 < div className = { styles . stepContent } >
260261 < Heading as = "h3" >
261- < Translate id = "homepage.quickStart.step2.title" > Create a .trb file </ Translate >
262+ < Translate id = "homepage.quickStart.step2.title" > Start watch mode </ Translate >
262263 </ Heading >
263- < CodeBlock language = "ruby" title = "hello.trb" >
264- { `def greet(name: String): String
265- "Hello, #{name}!"
266- end
267-
268- puts greet("World")` }
264+ < CodeBlock language = "bash" >
265+ trc --watch
269266 </ CodeBlock >
270267 </ div >
271268 </ div >
@@ -274,11 +271,12 @@ puts greet("World")`}
274271 < div className = { styles . stepNumber } > 3</ div >
275272 < div className = { styles . stepContent } >
276273 < Heading as = "h3" >
277- < Translate id = "homepage.quickStart.step3.title" > Compile and run </ Translate >
274+ < Translate id = "homepage.quickStart.step3.title" > Write typed Ruby </ Translate >
278275 </ Heading >
279- < CodeBlock language = "bash" >
280- { `trc hello.trb
281- ruby build/hello.rb` }
276+ < CodeBlock language = "ruby" title = "src/hello.trb" >
277+ { `def greet(name: String): String
278+ "Hello, #{name}!"
279+ end` }
282280 </ CodeBlock >
283281 </ div >
284282 </ div >
You can’t perform that action at this time.
0 commit comments