Skip to content

Instantly share code, notes, and snippets.

@masquaremo
Created September 13, 2013 14:16
Show Gist options
  • Save masquaremo/6551328 to your computer and use it in GitHub Desktop.
Save masquaremo/6551328 to your computer and use it in GitHub Desktop.
数値・文字・文字列リテラルをつかわずに、"Hello World"と標準出力に出力する。 (少しましなバージョン)
two = [nil, nil].size
sp = two << (two + two)
class Hello; end
class World; end
print Hello.new.class.to_s + sp.chr + World.new.class.to_s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment