Sha256: 7feb076ca3d98b34cc89922ed02c8f6bf2d5a7dc20b7626d0feb41a9984e8cc0

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 Bytes

Contents

module Putter
  class ProxyMethodData
    STACK_TRACE_IGNORE_REGEX = /(?!.*(\.rbenv|\.rvm|\/lib\/putter\/follower))(^.*$)/

    attr_accessor :label, :line, :method, :args, :result

    def initialize(params)
      @label = params[:label]
      @line = params[:line]
      @method = params[:method]
      @args = params[:args]
      @result = params[:result]
    end

    def stack_trace_ignore_regex
      STACK_TRACE_IGNORE_REGEX
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
putter-0.7.0 lib/putter/proxy_method_data.rb
putter-0.6.1 lib/putter/proxy_method_data.rb
putter-0.6.0 lib/putter/proxy_method_data.rb
putter-0.5.1 lib/putter/proxy_method_data.rb
putter-0.5.0 lib/putter/proxy_method_data.rb
putter-0.4.1 lib/putter/proxy_method_data.rb
putter-0.4.0 lib/putter/proxy_method_data.rb