2014-08-13 19:05:00 +02:00
|
|
|
module Sof
|
|
|
|
|
|
|
|
class Occurence
|
2014-08-18 16:25:49 +02:00
|
|
|
def initialize object , level
|
2014-08-13 19:05:00 +02:00
|
|
|
@object = object
|
|
|
|
@level = level
|
2014-08-21 14:35:55 +02:00
|
|
|
@referenced = nil
|
2014-08-13 19:05:00 +02:00
|
|
|
end
|
2014-08-21 14:35:55 +02:00
|
|
|
def set_reference r
|
|
|
|
@referenced = r
|
|
|
|
end
|
|
|
|
attr_reader :object , :referenced
|
|
|
|
attr_accessor :level
|
2014-08-13 19:05:00 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|