Cross Reference: logic_adjoint.rb
xref
: /
ontohub
/
app
/
models
/
logic_adjoint.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
logic_adjoint.rb revision 930c3dc1d778b713c3c77550f1c82d8ef8d7fa8e
class
LogicAdjoint
<
ActiveRecord
::
Base
include
Resourcable
include
Permissionable
belongs_to
:
translation
,
class_name
:
'LogicMapping'
belongs_to
:
projection
,
class_name
:
'LogicMapping'
belongs_to
:
user
validates_presence_of
:
translation
, :
projection
, :
iri
attr_accessible
:
iri
, :
translation
, :
projection
, :
translation_id
, :
projection_id
def
to_s
"#{iri}: #{translation} ADJOINTS #{projection}"
end
end