Sha256: 52e6af0d45f5c0af5646177e3062b362176dacd0c3349fe9aed12dfb3fc8d5b0

Contents?: true

Size: 952 Bytes

Versions: 3

Compression:

Stored size: 952 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

3 entries across 3 versions & 1 rubygems

Version Path
maglev-database-explorer-0.0.5 lib/maglev-database-explorer/database_views/gsnmethod.rb
maglev-database-explorer-0.0.4 lib/maglev-database-explorer/database_views/gsnmethod.rb
maglev-database-explorer-0.0.3 lib/maglev-database-explorer/database_views/gsnmethod.rb