rubyx/lib/sof/occurence.rb

17 lines
276 B
Ruby
Raw Normal View History

module Sof
class Occurence
def initialize object , level
@object = object
@level = level
2014-08-21 14:35:55 +02:00
@referenced = nil
end
2014-08-21 14:35:55 +02:00
def set_reference r
@referenced = r
end
attr_reader :object , :referenced
attr_accessor :level
end
end