Skip to content

Instantly share code, notes, and snippets.

@hotchpotch
Created July 22, 2008 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hotchpotch/696 to your computer and use it in GitHub Desktop.
Save hotchpotch/696 to your computer and use it in GitHub Desktop.
#!ruby -Ku
class << (_ = × = 来週も見てくださいね! = 'ひだまりスケッチ×365 ')
def / x=/_/x
sub! /(.*)/, ''; print $1
self
end
def < x=/_/x
print open(caller.first.split(':').first).read.split(/\s/)[-2..-1].join(' ')
end
end
× / _ / × < 来週も見てくださいね!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment