You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: occurrence.rb
    path of file: ./repos/ekylibre/lib/svf
    
    the code of the file until where you have to start completion: module SVF
  class Occurrence
    attr_reader :name, :range, :line

    def initialize(name, definition)
      @name = name.to_s
      @lin
    
    def initialize(name, definition)
      @name = name.to_s
      @line = @name
      @range = definition
      @cardinality = definition
      if definition.to_s =~ /\-/
        @line, @range = definition.split('-')[0..1]
        @line = @line.to_sym
      end