Skip to content

Instantly share code, notes, and snippets.

@typester
Forked from hotchpotch/gist:696
Created July 22, 2008 07:37
Show Gist options
  • Save typester/697 to your computer and use it in GitHub Desktop.
Save typester/697 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