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