Cross Reference: hets_instance.rb
xref
: /
ontohub
/
app
/
models
/
hets_instance.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
hets_instance.rb revision 45a2227b10d8d045961377d803c9865a085d7473
class
HetsInstance
<
ActiveRecord
::
Base
attr_accessible
:
name
, :
uri
# will result in 0.99 for <v0.99, something or other>
def
general_version
version.split
(
', '
)
.
first
[
1
..-
1
]
if
version
end
# will result in 1409043198 for <v0.99, 1409043198>
def
specific_version
version.split
(
', '
)
.
last
if
version
end
def
up
?
up
end
end