Skip to content

Instantly share code, notes, and snippets.

@taea taea/literal.haml
Last active Dec 19, 2015

Embed
What would you like to do?
リテラル
= "hogeに登録されている\"fuga\", \"piyo\", \"inu\" 等の一覧です。"
= %Q{hogeに登録されている"fuga", "piyo", "inu" 等の一覧です。}
= %Q!hogeに登録されている"fuga", "piyo", "inu" 等の一覧です。!
= %Q(hogeに登録されている"fuga", "piyo", "inu" 等の一覧です。)
http://doc.ruby-lang.org/ja/1.9.3/doc/spec=2fliteral.html#percent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.