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
Added a create task to create a new gitblog somewhere (using this development directl...
[git-blog.git]
/
lib
/
git-blog
/
core_ext
/
file.rb
blob
76a0ad1c406e3b8dced8808e668cc1425480e136
1
class File
2
Extensions = %r=^(markdown|textile|haml|sass|css|html|xhtml|rb|txt|text)$=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