回答編集履歴

6

修正

2017/05/07 12:16

投稿

退会済みユーザー
test CHANGED
File without changes

5

修正

2017/05/07 12:16

投稿

退会済みユーザー
test CHANGED
File without changes

4

修正

2017/05/07 12:15

投稿

退会済みユーザー
test CHANGED
File without changes

3

修正

2017/05/07 12:14

投稿

退会済みユーザー
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- nums = ['75156', '75024', '74877']
7
+ nums = %w[75156 75024 74877]
8
8
 
9
9
  system "start https://teratail.com/questions/#{nums.sample}"
10
10
 

2

修正

2017/05/07 12:14

投稿

退会済みユーザー
test CHANGED
@@ -3,8 +3,6 @@
3
3
  # encoding: utf-8
4
4
 
5
5
 
6
-
7
- base = 'https://teratail.com/questions/'
8
6
 
9
7
  nums = ['75156', '75024', '74877']
10
8
 

1

修正

2017/05/07 12:11

投稿

退会済みユーザー
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  nums = ['75156', '75024', '74877']
10
10
 
11
- system "start https://teratail.com/questions/#{nums.sample(1).first}"
11
+ system "start https://teratail.com/questions/#{nums.sample}"
12
12
 
13
13
  ```
14
14