{"id":1908,"date":"2018-10-13T22:00:31","date_gmt":"2018-10-13T13:00:31","guid":{"rendered":"http:\/\/www.cotegg.com\/blog\/?p=1908"},"modified":"2018-10-13T22:00:31","modified_gmt":"2018-10-13T13:00:31","slug":"haml%e3%82%92erb%e3%81%ab%e5%a4%89%e6%8f%9b%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.cotegg.com\/blog\/?p=1908","title":{"rendered":"haml\u3092erb\u306b\u5909\u63db\u3059\u308b"},"content":{"rendered":"<p>\u3053\u3093\u3070\u3093\u306f<\/p>\n<p>rails\u306e\u8272\u3005\u306a\u8a18\u4e8b\u3092\u898b\u3066\u3044\u308b\u3068\u3001haml\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u7d50\u69cb\u3042\u308a\u307e\u3059\u304c<br \/>\n\u300cerb\u3060\u3068\u3069\u3046\u66f8\u304f\u306e\uff1f\u300d\u3063\u3066\u601d\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>haml\u304b\u3089erb\u306b\u5909\u63db\u3059\u308bgem\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u3055\u3063\u3068\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d\u306b\u306f\u3061\u3087\u3063\u3068\u9762\u5012\u304f\u3055\u3044\u3067\u3059\u3002<br \/>\n\u305d\u3093\u306a\u6642\u306f<a href=\"https:\/\/haml2erb.org\">haml2erb<\/a>\u3092\u4f7f\u3046\u3068\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u4f7f\u3044\u65b9\u306f\u3001\u4e0a\u306etextarea\u306bhaml\u306e\u30b3\u30fc\u30c9\u3092\u3044\u308c\u3066convert\u3092\u62bc\u3059\u3068erb\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002<br \/>\n\u6ce8\u610f\u70b9\u3068\u3057\u3066\u306f\u65e5\u672c\u8a9e\u304c\u4ea4\u3058\u308b\u3068\u30a8\u30e9\u30fc\u3067convert\u3055\u308c\u306a\u3044\u306e\u3067\u65e5\u672c\u8a9e\u306f\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u3070\u3093\u306f rails\u306e\u8272\u3005\u306a\u8a18\u4e8b\u3092\u898b\u3066\u3044\u308b\u3068\u3001haml\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u7d50\u69cb &#8230; <\/p>\n","protected":false},"author":101012,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>haml\u3092erb\u306b\u5909\u63db\u3059\u308b | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cotegg.com\/blog\/?p=1908\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"haml\u3092erb\u306b\u5909\u63db\u3059\u308b | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u3070\u3093\u306f rails\u306e\u8272\u3005\u306a\u8a18\u4e8b\u3092\u898b\u3066\u3044\u308b\u3068\u3001haml\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u7d50\u69cb ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cotegg.com\/blog\/?p=1908\" \/>\n<meta property=\"og:site_name\" content=\"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/COTegg.japan\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-13T13:00:31+00:00\" \/>\n<meta name=\"author\" content=\"asakos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:site\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"asakos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1908#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1908\"},\"author\":{\"name\":\"asakos\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f\"},\"headline\":\"haml\u3092erb\u306b\u5909\u63db\u3059\u308b\",\"datePublished\":\"2018-10-13T13:00:31+00:00\",\"dateModified\":\"2018-10-13T13:00:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1908\"},\"wordCount\":15,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"articleSection\":[\"\u6280\u8853\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=1908#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1908\",\"url\":\"https:\/\/www.cotegg.com\/blog\/?p=1908\",\"name\":\"haml\u3092erb\u306b\u5909\u63db\u3059\u308b | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\"},\"datePublished\":\"2018-10-13T13:00:31+00:00\",\"dateModified\":\"2018-10-13T13:00:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1908#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=1908\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=1908#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cotegg.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"haml\u3092erb\u306b\u5909\u63db\u3059\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"name\":\"COTegg\u306e\u30d0\u30b1\u30c4\",\"description\":\"- Bucket of cotegg -\",\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\",\"name\":\"COTegg Inc.\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"contentUrl\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"width\":176,\"height\":60,\"caption\":\"COTegg Inc.\"},\"image\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/COTegg.japan\/\",\"https:\/\/twitter.com\/cotegg_japan\",\"https:\/\/www.instagram.com\/cotegg_japan\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f\",\"name\":\"asakos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g\",\"caption\":\"asakos\"},\"url\":\"https:\/\/www.cotegg.com\/blog\/?author=101012\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"haml\u3092erb\u306b\u5909\u63db\u3059\u308b | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cotegg.com\/blog\/?p=1908","og_locale":"ja_JP","og_type":"article","og_title":"haml\u3092erb\u306b\u5909\u63db\u3059\u308b | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","og_description":"\u3053\u3093\u3070\u3093\u306f rails\u306e\u8272\u3005\u306a\u8a18\u4e8b\u3092\u898b\u3066\u3044\u308b\u3068\u3001haml\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u7d50\u69cb ...","og_url":"https:\/\/www.cotegg.com\/blog\/?p=1908","og_site_name":"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","article_publisher":"https:\/\/www.facebook.com\/COTegg.japan\/","article_published_time":"2018-10-13T13:00:31+00:00","author":"asakos","twitter_card":"summary_large_image","twitter_creator":"@cotegg_japan","twitter_site":"@cotegg_japan","twitter_misc":{"\u57f7\u7b46\u8005":"asakos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cotegg.com\/blog\/?p=1908#article","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=1908"},"author":{"name":"asakos","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f"},"headline":"haml\u3092erb\u306b\u5909\u63db\u3059\u308b","datePublished":"2018-10-13T13:00:31+00:00","dateModified":"2018-10-13T13:00:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=1908"},"wordCount":15,"commentCount":0,"publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"articleSection":["\u6280\u8853"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cotegg.com\/blog\/?p=1908#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cotegg.com\/blog\/?p=1908","url":"https:\/\/www.cotegg.com\/blog\/?p=1908","name":"haml\u3092erb\u306b\u5909\u63db\u3059\u308b | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/#website"},"datePublished":"2018-10-13T13:00:31+00:00","dateModified":"2018-10-13T13:00:31+00:00","breadcrumb":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=1908#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cotegg.com\/blog\/?p=1908"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cotegg.com\/blog\/?p=1908#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cotegg.com\/blog"},{"@type":"ListItem","position":2,"name":"haml\u3092erb\u306b\u5909\u63db\u3059\u308b"}]},{"@type":"WebSite","@id":"https:\/\/www.cotegg.com\/blog\/#website","url":"https:\/\/www.cotegg.com\/blog\/","name":"COTegg\u306e\u30d0\u30b1\u30c4","description":"- Bucket of cotegg -","publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.cotegg.com\/blog\/#organization","name":"COTegg Inc.","url":"https:\/\/www.cotegg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","contentUrl":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","width":176,"height":60,"caption":"COTegg Inc."},"image":{"@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/COTegg.japan\/","https:\/\/twitter.com\/cotegg_japan","https:\/\/www.instagram.com\/cotegg_japan\/"]},{"@type":"Person","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/eabce460c5ae1b67a47e64637cb2ec3f","name":"asakos","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/54e850f2929db050ecd3dadaa9f93ef6?s=96&d=mm&r=g","caption":"asakos"},"url":"https:\/\/www.cotegg.com\/blog\/?author=101012"}]}},"_links":{"self":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1908"}],"collection":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/101012"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1908"}],"version-history":[{"count":1,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1908\/revisions"}],"predecessor-version":[{"id":1909,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1908\/revisions\/1909"}],"wp:attachment":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}