Sign in
apache
/
whimsy
/
5a00b999726106b054a9100a8903309e1e79ba15
/
.
/
lib
/
whimsy
/
asf
/
site-img.rb
blob: c761e6727991ad65cc1360d068031f3b375a635c [
file
] [
log
] [
blame
]
# Find site image files
module
ASF
class
SiteImage
def
self
.
listnames
_
,
list
=
ASF
::
SVN
.
getlisting
(
'site-img'
)
list
end
def
self
.
find
(
id
)
listnames
.
select
{|
file
|
file
=~
/^#{id}.*\.(svg|eps|ai|pdf)$/
}.
first
end
end
end