Sha256: d079c50464c431be3e419e5148222d5d662fea6564f9b3886eabab09b184ad93

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 Bytes

Contents

module Debase
  class Breakpoint
    @@global_id = 1

    attr_accessor :source, :pos
    attr_reader :id

    def initialize(file, line, expr=nil)
      @source = file
      @pos = line
      @expr = expr
      @id = @@global_id
      @@global_id = @@global_id + 1
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
debase-0.1.1 lib/debase/rbx/breakpoint.rb
debase-0.1.0 lib/debase/rbx/breakpoint.rb
debase-0.0.9 lib/debase/rbx/breakpoint.rb