Sha256: f205226e1ef43d4926ef21acc1789991a7ab0b66b72579598b1dc84c287fc816

Contents?: true

Size: 304 Bytes

Versions: 19

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

Pry::Commands.create_command 'disasm' do
  description 'Pry plugin that displays YARV bytecode for a method or expression. '
  command_options argument_required: true
  group 'Context'

  def process
    expr = target.eval(arg_string)
    PryDisasm.process(expr)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
pryx-0.11.0 lib/pry-disasm/commands.rb
pryx-0.10.3 lib/pry-disasm/commands.rb
pryx-0.10.2 lib/pry-disasm/commands.rb
pryx-0.10.1 lib/pry-disasm/commands.rb
pryx-0.10.0 lib/pry-disasm/commands.rb
pryx-0.9.2 lib/pry-disasm/commands.rb
pryx-0.9.0 lib/pry-disasm/commands.rb
pryx-0.8.7 lib/pry-disasm/commands.rb
pryx-0.8.6 lib/pry-disasm/commands.rb
pryx-0.8.5 lib/pry-disasm/commands.rb
pryx-0.8.4 lib/pry-disasm/commands.rb
pryx-0.8.3 lib/pry-disasm/commands.rb
pryx-0.8.2 lib/pry-disasm/commands.rb
pryx-0.8.1 lib/pry-disasm/commands.rb
pryx-0.8.0 lib/pry-disasm/commands.rb
pryx-0.7.2 lib/pry-disasm/commands.rb
pryx-0.7.0 lib/pry-disasm/commands.rb
pryx-0.6.1 lib/pry-disasm/commands.rb
pryx-0.6.0 lib/pry-disasm/commands.rb