projects
/
erd-marker.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added simplecov
[erd-marker.git]
/
erd_handler
/
erd.rb
1
module
Erd
2
class
Erd
3
def
initialize
(
source
=
nil
)
4
doc
=
Document
.
new source
5
raise
InvalidErdFile
unless
doc
.
elements
.
length
==
1
and
doc
.
elements
[
1
].
name
.
downcase
==
'drawing'
6
end
7
end
8
end