repo.or.cz
/
git-blog.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Wewt! Deployment is now working! Fully working git-blog skellingtonage, in one day...
[git-blog.git]
/
lib
/
git-blog
/
core_ext
/
file.rb
blob
e030a9c10b579931f5d5b82a75c0cb89d8f99fcd
1
class File
2
Extensions = %r=^(markdown|textile|haml|sass|css|html|xhtml)$=i
3
module Extension
4
def method_missing(meth, *args)
5
if Extensions =~ meth.to_s
6
[self, '.', meth.to_s].join
7
else
8
super
9
end # if
10
end # method_missing
11
end # Extension
12
end # File