Sha256: 133966195f25c8cdb392a6f566c9852f4e237990defe1f8ee4823f4b50ef8748

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

Contents

class GsNMethodProxy
  def self.for(method)
    instance = self.new
    instance.method = method
    instance
  end

  def __for_database_explorer
    [@method.__source_string, @method.__environment_id, @method.__selector, @method.__file_and_line, @method.__in_class.to_database_view(1, {}, {:noBehavior => true})]
  end

  def method=(val)
    @method = val
  end
end

class GsNMethod
  primitive '__in_class', 'inClass'
  primitive '__source_string', 'sourceString'
  primitive '__environment_id', 'environmentId'
  primitive '__description_for_stack', '_descrForStack'
  primitive '__selector', 'selector'
  primitive '__file_and_line', '_fileAndLine'
  primitive '__source_offsets', '_sourceOffsets'
  primitive '__source_offsets_at', '_sourceOffsetsAt:'
  primitive '__previous_step_point_for_ip', '_previousStepPointForIp:'
  primitive '__source_at_ip', '_sourceAtTosIp:'
  primitive '__step_point_for_ip', '_stepPointForIp:level:isNative:'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mdbe-0.1.0 lib/mdbe/database_views/gsnmethod.rb