Skip to content

Instantly share code, notes, and snippets.

@berlysia
Created September 24, 2013 09:21
Show Gist options
  • Save berlysia/6682377 to your computer and use it in GitHub Desktop.
Save berlysia/6682377 to your computer and use it in GitHub Desktop.
リテラルなしでHello World
#!/usr/bin/env ruby
z = nil.to_i
print (!!nil).class.name[z].next.next
print [].each.class.name[z].downcase
print (!!nil).class.name[z.next.next]
print (!!nil).class.name[z.next.next]
print nil.class.name[z].next.downcase
print (z.next.next ** {}.class.name.size.next).chr
print [].each.class.name[z.next.next].next.next.upcase
print nil.class.name[z].next.downcase
print [].each.class.name.reverse[z]
print (!!nil).class.name[z.next.next]
puts nil.to_i.class.superclass.superclass.name.reverse[z].next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment