Sha256: c5cb34f34c5df37548f6518546c5c58d039c1896737ee7ba2449f8682f96ed5c

Contents?: true

Size: 358 Bytes

Versions: 58

Compression:

Stored size: 358 Bytes

Contents

module Debase
  class Frame
    def initialize(location)
      @location = location
    end

    def binding
      @binding ||= Binding.setup(@location.variables, @location.method, @location.constant_scope)
    end

    def line
      @location.line
    end

    def file
      @location.file
    end

    def self
      @location.receiver
    end
  end
end

Version data entries

58 entries across 47 versions & 3 rubygems

Version Path
debase-0.2.7 lib/debase/rbx/frame.rb
debase-0.2.6 lib/debase/rbx/frame.rb
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-0.2.5.beta2/lib/debase/rbx/frame.rb
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/debase-0.2.5.beta1/lib/debase/rbx/frame.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/debase-0.2.5.beta1/lib/debase/rbx/frame.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb
debase-0.2.5.beta2 lib/debase/rbx/frame.rb
tdiary-5.1.4 vendor/bundle/ruby/2.7.0/gems/debase-0.2.4.1/lib/debase/rbx/frame.rb