17 lines
276 B
Ruby
17 lines
276 B
Ruby
module Sof
|
|
|
|
class Occurence
|
|
def initialize object , level
|
|
@object = object
|
|
@level = level
|
|
@referenced = nil
|
|
end
|
|
def set_reference r
|
|
@referenced = r
|
|
end
|
|
attr_reader :object , :referenced
|
|
attr_accessor :level
|
|
end
|
|
|
|
end
|