{"filter":false,"title":"app.rb","tooltip":"/app.rb","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"insert","lines":["1"],"id":1357}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":10},"action":"insert","lines":[" "],"id":1358},{"start":{"row":16,"column":10},"end":{"row":16,"column":11},"action":"insert","lines":[":"]}],[{"start":{"row":16,"column":11},"end":{"row":16,"column":12},"action":"insert","lines":[" "],"id":1359}],[{"start":{"row":16,"column":12},"end":{"row":16,"column":13},"action":"insert","lines":["반"],"id":1362}],[{"start":{"row":16,"column":13},"end":{"row":16,"column":14},"action":"insert","lines":["복"],"id":1365}],[{"start":{"row":16,"column":14},"end":{"row":16,"column":15},"action":"insert","lines":["문"],"id":1368}],[{"start":{"row":16,"column":15},"end":{"row":16,"column":16},"action":"insert","lines":["을"],"id":1371}],[{"start":{"row":16,"column":16},"end":{"row":16,"column":17},"action":"insert","lines":[" "],"id":1372}],[{"start":{"row":16,"column":17},"end":{"row":16,"column":18},"action":"insert","lines":["써"],"id":1376}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":["서"],"id":1377}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":[" "],"id":1378}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["다"],"id":1382}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["음"],"id":1384}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":1385}],[{"start":{"row":16,"column":23},"end":{"row":16,"column":24},"action":"insert","lines":["코"],"id":1389}],[{"start":{"row":16,"column":24},"end":{"row":16,"column":25},"action":"insert","lines":["드"],"id":1392}],[{"start":{"row":16,"column":25},"end":{"row":16,"column":26},"action":"insert","lines":["를"],"id":1394}],[{"start":{"row":16,"column":26},"end":{"row":16,"column":27},"action":"insert","lines":[" "],"id":1395}],[{"start":{"row":16,"column":27},"end":{"row":16,"column":28},"action":"insert","lines":["간"],"id":1398}],[{"start":{"row":16,"column":28},"end":{"row":16,"column":29},"action":"insert","lines":["단"],"id":1401}],[{"start":{"row":16,"column":29},"end":{"row":16,"column":30},"action":"insert","lines":["하"],"id":1404}],[{"start":{"row":16,"column":30},"end":{"row":16,"column":31},"action":"insert","lines":["게"],"id":1405}],[{"start":{"row":16,"column":31},"end":{"row":16,"column":32},"action":"insert","lines":[" "],"id":1406}],[{"start":{"row":16,"column":32},"end":{"row":16,"column":33},"action":"insert","lines":["하"],"id":1410}],[{"start":{"row":16,"column":33},"end":{"row":16,"column":34},"action":"insert","lines":["시"],"id":1413}],[{"start":{"row":16,"column":34},"end":{"row":16,"column":35},"action":"insert","lines":["오"],"id":1414}],[{"start":{"row":16,"column":35},"end":{"row":16,"column":36},"action":"insert","lines":["."],"id":1415}],[{"start":{"row":16,"column":36},"end":{"row":17,"column":0},"action":"insert","lines":["",""],"id":1416},{"start":{"row":17,"column":0},"end":{"row":17,"column":4},"action":"insert","lines":["    "]}],[{"start":{"row":17,"column":4},"end":{"row":17,"column":5},"action":"insert","lines":["6"],"id":1417}],[{"start":{"row":17,"column":5},"end":{"row":17,"column":6},"action":"insert","lines":["샤"],"id":1419}],[{"start":{"row":17,"column":5},"end":{"row":17,"column":6},"action":"remove","lines":["샤"],"id":1421}],[{"start":{"row":17,"column":5},"end":{"row":17,"column":6},"action":"insert","lines":["t"],"id":1422},{"start":{"row":17,"column":6},"end":{"row":17,"column":7},"action":"insert","lines":["i"]},{"start":{"row":17,"column":7},"end":{"row":17,"column":8},"action":"insert","lines":["m"]},{"start":{"row":17,"column":8},"end":{"row":17,"column":9},"action":"insert","lines":["e"]},{"start":{"row":17,"column":9},"end":{"row":17,"column":10},"action":"insert","lines":["s"]}],[{"start":{"row":17,"column":5},"end":{"row":17,"column":6},"action":"insert","lines":["."],"id":1423}],[{"start":{"row":17,"column":11},"end":{"row":17,"column":12},"action":"insert","lines":[" "],"id":1424},{"start":{"row":17,"column":12},"end":{"row":17,"column":13},"action":"insert","lines":["d"]},{"start":{"row":17,"column":13},"end":{"row":17,"column":14},"action":"insert","lines":["o"]}],[{"start":{"row":17,"column":14},"end":{"row":17,"column":15},"action":"insert","lines":[" "],"id":1425},{"start":{"row":17,"column":15},"end":{"row":17,"column":16},"action":"insert","lines":["|"]},{"start":{"row":17,"column":16},"end":{"row":17,"column":17},"action":"insert","lines":["x"]}],[{"start":{"row":17,"column":17},"end":{"row":17,"column":18},"action":"insert","lines":["|"],"id":1426}],[{"start":{"row":17,"column":18},"end":{"row":18,"column":0},"action":"insert","lines":["",""],"id":1427},{"start":{"row":18,"column":0},"end":{"row":18,"column":8},"action":"insert","lines":["        "]},{"start":{"row":18,"column":8},"end":{"row":19,"column":0},"action":"insert","lines":["",""]},{"start":{"row":19,"column":0},"end":{"row":19,"column":8},"action":"insert","lines":["        "]}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":8},"action":"remove","lines":["    "],"id":1428}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":5},"action":"insert","lines":["e"],"id":1429},{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["n"]},{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["d"]}],[{"start":{"row":18,"column":7},"end":{"row":18,"column":8},"action":"insert","lines":[" "],"id":1430}],[{"start":{"row":18,"column":8},"end":{"row":18,"column":9},"action":"insert","lines":["@"],"id":1431},{"start":{"row":18,"column":9},"end":{"row":18,"column":10},"action":"insert","lines":["l"]},{"start":{"row":18,"column":10},"end":{"row":18,"column":11},"action":"insert","lines":["o"]}],[{"start":{"row":18,"column":11},"end":{"row":18,"column":12},"action":"insert","lines":["t"],"id":1432},{"start":{"row":18,"column":12},"end":{"row":18,"column":13},"action":"insert","lines":["t"]},{"start":{"row":18,"column":13},"end":{"row":18,"column":14},"action":"insert","lines":["o"]}],[{"start":{"row":18,"column":14},"end":{"row":18,"column":15},"action":"insert","lines":["."],"id":1433},{"start":{"row":18,"column":15},"end":{"row":18,"column":16},"action":"insert","lines":["p"]},{"start":{"row":18,"column":16},"end":{"row":18,"column":17},"action":"insert","lines":["u"]},{"start":{"row":18,"column":17},"end":{"row":18,"column":18},"action":"insert","lines":["s"]},{"start":{"row":18,"column":18},"end":{"row":18,"column":19},"action":"insert","lines":["h"]}],[{"start":{"row":18,"column":19},"end":{"row":18,"column":20},"action":"insert","lines":["9"],"id":1434},{"start":{"row":18,"column":20},"end":{"row":18,"column":21},"action":"insert","lines":["0"]},{"start":{"row":18,"column":21},"end":{"row":18,"column":22},"action":"insert","lines":["\\"]}],[{"start":{"row":18,"column":21},"end":{"row":18,"column":22},"action":"remove","lines":["\\"],"id":1435},{"start":{"row":18,"column":20},"end":{"row":18,"column":21},"action":"remove","lines":["0"]},{"start":{"row":18,"column":19},"end":{"row":18,"column":20},"action":"remove","lines":["9"]}],[{"start":{"row":18,"column":19},"end":{"row":18,"column":21},"action":"insert","lines":["()"],"id":1436}],[{"start":{"row":18,"column":20},"end":{"row":18,"column":21},"action":"insert","lines":["r"],"id":1437},{"start":{"row":18,"column":21},"end":{"row":18,"column":22},"action":"insert","lines":["e"]},{"start":{"row":18,"column":22},"end":{"row":18,"column":23},"action":"insert","lines":["s"]},{"start":{"row":18,"column":23},"end":{"row":18,"column":24},"action":"insert","lines":["u"]},{"start":{"row":18,"column":24},"end":{"row":18,"column":25},"action":"insert","lines":["l"]},{"start":{"row":18,"column":25},"end":{"row":18,"column":26},"action":"insert","lines":["t"]}],[{"start":{"row":18,"column":26},"end":{"row":18,"column":28},"action":"insert","lines":["[]"],"id":1438}],[{"start":{"row":18,"column":27},"end":{"row":18,"column":29},"action":"insert","lines":["\"\""],"id":1439}],[{"start":{"row":18,"column":28},"end":{"row":18,"column":29},"action":"insert","lines":["d"],"id":1440},{"start":{"row":18,"column":29},"end":{"row":18,"column":30},"action":"insert","lines":["r"]},{"start":{"row":18,"column":30},"end":{"row":18,"column":31},"action":"insert","lines":["w"]}],[{"start":{"row":18,"column":31},"end":{"row":18,"column":32},"action":"insert","lines":["N"],"id":1441},{"start":{"row":18,"column":32},"end":{"row":18,"column":33},"action":"insert","lines":["o"]}],[{"start":{"row":18,"column":35},"end":{"row":18,"column":36},"action":"insert","lines":["+"],"id":1442}],[{"start":{"row":18,"column":36},"end":{"row":18,"column":37},"action":"insert","lines":[" "],"id":1443}],[{"start":{"row":18,"column":37},"end":{"row":18,"column":39},"action":"insert","lines":["()"],"id":1444}],[{"start":{"row":18,"column":38},"end":{"row":18,"column":39},"action":"insert","lines":["x"],"id":1445},{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":["+"]},{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"insert","lines":["1"]}],[{"start":{"row":18,"column":41},"end":{"row":18,"column":42},"action":"remove","lines":[")"],"id":1446},{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"remove","lines":["1"]},{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"remove","lines":["+"]},{"start":{"row":18,"column":38},"end":{"row":18,"column":39},"action":"remove","lines":["x"]},{"start":{"row":18,"column":37},"end":{"row":18,"column":39},"action":"remove","lines":["()"]}],[{"start":{"row":18,"column":36},"end":{"row":18,"column":37},"action":"remove","lines":[" "],"id":1447}],[{"start":{"row":18,"column":36},"end":{"row":18,"column":37},"action":"insert","lines":["#"],"id":1448},{"start":{"row":18,"column":37},"end":{"row":18,"column":38},"action":"insert","lines":["{"]},{"start":{"row":18,"column":38},"end":{"row":18,"column":39},"action":"insert","lines":["}"]}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":[")"],"id":1449}],[{"start":{"row":18,"column":38},"end":{"row":18,"column":39},"action":"insert","lines":["x"],"id":1450},{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":["+"]},{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"insert","lines":["1"]}],[{"start":{"row":18,"column":33},"end":{"row":18,"column":34},"action":"insert","lines":["#"],"id":1451},{"start":{"row":18,"column":34},"end":{"row":18,"column":35},"action":"insert","lines":["{"]},{"start":{"row":18,"column":35},"end":{"row":18,"column":36},"action":"insert","lines":["}"]}],[{"start":{"row":18,"column":35},"end":{"row":18,"column":36},"action":"insert","lines":["x"],"id":1452},{"start":{"row":18,"column":36},"end":{"row":18,"column":37},"action":"insert","lines":["+"]}],[{"start":{"row":18,"column":37},"end":{"row":18,"column":38},"action":"insert","lines":["1"],"id":1453}],[{"start":{"row":18,"column":47},"end":{"row":18,"column":48},"action":"remove","lines":["}"],"id":1454},{"start":{"row":18,"column":46},"end":{"row":18,"column":47},"action":"remove","lines":["1"]},{"start":{"row":18,"column":45},"end":{"row":18,"column":46},"action":"remove","lines":["+"]},{"start":{"row":18,"column":44},"end":{"row":18,"column":45},"action":"remove","lines":["x"]},{"start":{"row":18,"column":43},"end":{"row":18,"column":44},"action":"remove","lines":["{"]},{"start":{"row":18,"column":42},"end":{"row":18,"column":43},"action":"remove","lines":["#"]},{"start":{"row":18,"column":41},"end":{"row":18,"column":42},"action":"remove","lines":["+"]}],[{"start":{"row":20,"column":4},"end":{"row":25,"column":34},"action":"remove","lines":["@lotto.push(result[\"drwtNo1\"])","    @lotto.push(result[\"drwtNo2\"])","    @lotto.push(result[\"drwtNo3\"])","    @lotto.push(result[\"drwtNo4\"])","    @lotto.push(result[\"drwtNo5\"])","    @lotto.push(result[\"drwtNo6\"])"],"id":1455},{"start":{"row":20,"column":0},"end":{"row":20,"column":4},"action":"remove","lines":["    "]},{"start":{"row":19,"column":7},"end":{"row":20,"column":0},"action":"remove","lines":["",""]}],[{"start":{"row":20,"column":4},"end":{"row":21,"column":0},"action":"insert","lines":["",""],"id":1456},{"start":{"row":21,"column":0},"end":{"row":21,"column":4},"action":"insert","lines":["    "]}],[{"start":{"row":22,"column":4},"end":{"row":22,"column":29},"action":"remove","lines":["@bonus = result[\"bnusNo\"]"],"id":1457},{"start":{"row":20,"column":4},"end":{"row":20,"column":29},"action":"insert","lines":["@bonus = result[\"bnusNo\"]"]}],[{"start":{"row":21,"column":3},"end":{"row":22,"column":0},"action":"insert","lines":["",""],"id":1458},{"start":{"row":22,"column":0},"end":{"row":22,"column":3},"action":"insert","lines":["   "]}],[{"start":{"row":22,"column":4},"end":{"row":22,"column":40},"action":"remove","lines":["# 4. Hash 담겨 있는 보너스 번호를 @bonus에 넣는다."],"id":1459},{"start":{"row":23,"column":4},"end":{"row":23,"column":40},"action":"insert","lines":["# 4. Hash 담겨 있는 보너스 번호를 @bonus에 넣는다."]}],[{"start":{"row":16,"column":4},"end":{"row":16,"column":36},"action":"remove","lines":["#냄새 1 : 반복문을 써서 다음 코드를 간단하게 하시오."],"id":1460},{"start":{"row":22,"column":4},"end":{"row":22,"column":36},"action":"insert","lines":["#냄새 1 : 반복문을 써서 다음 코드를 간단하게 하시오."]}],[{"start":{"row":14,"column":4},"end":{"row":14,"column":54},"action":"remove","lines":["# 3. Hash 담겨 있는 정보들을 뽑아서 @lotto = [] 에 담는다(push())"],"id":1461},{"start":{"row":21,"column":3},"end":{"row":21,"column":53},"action":"insert","lines":["# 3. Hash 담겨 있는 정보들을 뽑아서 @lotto = [] 에 담는다(push())"]}],[{"start":{"row":21,"column":3},"end":{"row":21,"column":4},"action":"insert","lines":[" "],"id":1462}],[{"start":{"row":20,"column":4},"end":{"row":21,"column":0},"action":"insert","lines":["",""],"id":1463},{"start":{"row":21,"column":0},"end":{"row":21,"column":4},"action":"insert","lines":["    "]}],[{"start":{"row":21,"column":0},"end":{"row":21,"column":4},"action":"remove","lines":["    "],"id":1464}],[{"start":{"row":21,"column":0},"end":{"row":21,"column":1},"action":"insert","lines":["\\"],"id":1465}],[{"start":{"row":21,"column":0},"end":{"row":21,"column":1},"action":"remove","lines":["\\"],"id":1466},{"start":{"row":20,"column":4},"end":{"row":21,"column":0},"action":"remove","lines":["",""]}],[{"start":{"row":21,"column":3},"end":{"row":22,"column":0},"action":"insert","lines":["",""],"id":1467},{"start":{"row":22,"column":0},"end":{"row":22,"column":3},"action":"insert","lines":["   "]},{"start":{"row":22,"column":3},"end":{"row":23,"column":0},"action":"insert","lines":["",""]},{"start":{"row":23,"column":0},"end":{"row":23,"column":3},"action":"insert","lines":["   "]}],[{"start":{"row":12,"column":4},"end":{"row":12,"column":77},"action":"remove","lines":["# 2. 받아온 응답(response) .body 파트에 담겨있는 json을 JSON.parse()를 통해 루비 Hash로 바꾼다."],"id":1468},{"start":{"row":22,"column":3},"end":{"row":22,"column":76},"action":"insert","lines":["# 2. 받아온 응답(response) .body 파트에 담겨있는 json을 JSON.parse()를 통해 루비 Hash로 바꾼다."]}],[{"start":{"row":22,"column":3},"end":{"row":22,"column":4},"action":"insert","lines":[" "],"id":1469}],[{"start":{"row":10,"column":3},"end":{"row":10,"column":58},"action":"remove","lines":[" # 1. HTTParty.get() => 로또 정보가 담겨있는 json 파일을 요청해서 받아온다."],"id":1470},{"start":{"row":21,"column":3},"end":{"row":21,"column":58},"action":"insert","lines":[" # 1. HTTParty.get() => 로또 정보가 담겨있는 json 파일을 요청해서 받아온다."]}],[{"start":{"row":12,"column":0},"end":{"row":12,"column":4},"action":"remove","lines":["    "],"id":1471},{"start":{"row":11,"column":38},"end":{"row":12,"column":0},"action":"remove","lines":["",""]}],[{"start":{"row":15,"column":0},"end":{"row":15,"column":4},"action":"remove","lines":["    "],"id":1472},{"start":{"row":14,"column":15},"end":{"row":15,"column":0},"action":"remove","lines":["",""]}],[{"start":{"row":34,"column":10},"end":{"row":41,"column":7},"action":"remove","lines":["= 0","    @winner.each do |x|","        @lotto.each do |y|","            if x == y","                count += 1","            end","        end","    end"],"id":1489}],[{"start":{"row":34,"column":10},"end":{"row":34,"column":11},"action":"insert","lines":["="],"id":1490}],[{"start":{"row":34,"column":11},"end":{"row":34,"column":12},"action":"insert","lines":[" "],"id":1491}],[{"start":{"row":34,"column":12},"end":{"row":34,"column":14},"action":"insert","lines":["()"],"id":1492}],[{"start":{"row":34,"column":13},"end":{"row":34,"column":14},"action":"insert","lines":["@"],"id":1493},{"start":{"row":34,"column":14},"end":{"row":34,"column":15},"action":"insert","lines":["w"]}],[{"start":{"row":34,"column":15},"end":{"row":34,"column":16},"action":"insert","lines":["i"],"id":1494},{"start":{"row":34,"column":16},"end":{"row":34,"column":17},"action":"insert","lines":["n"]},{"start":{"row":34,"column":17},"end":{"row":34,"column":18},"action":"insert","lines":["n"]},{"start":{"row":34,"column":18},"end":{"row":34,"column":19},"action":"insert","lines":["e"]},{"start":{"row":34,"column":19},"end":{"row":34,"column":20},"action":"insert","lines":["r"]}],[{"start":{"row":34,"column":20},"end":{"row":34,"column":21},"action":"insert","lines":[" "],"id":1495}],[{"start":{"row":34,"column":21},"end":{"row":34,"column":22},"action":"insert","lines":["&"],"id":1496}],[{"start":{"row":34,"column":22},"end":{"row":34,"column":23},"action":"insert","lines":[" "],"id":1497}],[{"start":{"row":34,"column":23},"end":{"row":34,"column":24},"action":"insert","lines":["@"],"id":1498}],[{"start":{"row":34,"column":24},"end":{"row":34,"column":25},"action":"insert","lines":["l"],"id":1499},{"start":{"row":34,"column":25},"end":{"row":34,"column":26},"action":"insert","lines":["o"]},{"start":{"row":34,"column":26},"end":{"row":34,"column":27},"action":"insert","lines":["t"]},{"start":{"row":34,"column":27},"end":{"row":34,"column":28},"action":"insert","lines":["t"]},{"start":{"row":34,"column":28},"end":{"row":34,"column":29},"action":"insert","lines":["o"]}],[{"start":{"row":34,"column":30},"end":{"row":34,"column":31},"action":"insert","lines":["."],"id":1500},{"start":{"row":34,"column":31},"end":{"row":34,"column":32},"action":"insert","lines":["l"]},{"start":{"row":34,"column":32},"end":{"row":34,"column":33},"action":"insert","lines":["e"]},{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"insert","lines":["n"]}],[{"start":{"row":34,"column":34},"end":{"row":34,"column":35},"action":"insert","lines":["g"],"id":1501},{"start":{"row":34,"column":35},"end":{"row":34,"column":36},"action":"insert","lines":["t"]},{"start":{"row":34,"column":36},"end":{"row":34,"column":37},"action":"insert","lines":["h"]}],[{"start":{"row":34,"column":36},"end":{"row":34,"column":37},"action":"remove","lines":["h"],"id":1502},{"start":{"row":34,"column":35},"end":{"row":34,"column":36},"action":"remove","lines":["t"]},{"start":{"row":34,"column":34},"end":{"row":34,"column":35},"action":"remove","lines":["g"]},{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"remove","lines":["n"]},{"start":{"row":34,"column":32},"end":{"row":34,"column":33},"action":"remove","lines":["e"]},{"start":{"row":34,"column":31},"end":{"row":34,"column":32},"action":"remove","lines":["l"]}],[{"start":{"row":34,"column":31},"end":{"row":34,"column":32},"action":"insert","lines":["s"],"id":1503},{"start":{"row":34,"column":32},"end":{"row":34,"column":33},"action":"insert","lines":["i"]},{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"insert","lines":["x"]},{"start":{"row":34,"column":34},"end":{"row":34,"column":35},"action":"insert","lines":["e"]}],[{"start":{"row":34,"column":34},"end":{"row":34,"column":35},"action":"remove","lines":["e"],"id":1504},{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"remove","lines":["x"]}],[{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"insert","lines":["w"],"id":1505}],[{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"remove","lines":["w"],"id":1506}],[{"start":{"row":34,"column":33},"end":{"row":34,"column":34},"action":"insert","lines":["z"],"id":1507},{"start":{"row":34,"column":34},"end":{"row":34,"column":35},"action":"insert","lines":["e"]}]]},"ace":{"folds":[],"scrolltop":369.5,"scrollleft":0,"selection":{"start":{"row":34,"column":35},"end":{"row":34,"column":35},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1528778962063,"hash":"f2eb155f03bf3be9dadb7d6d34162ede3d6e6ae0"}