Sha256: 4e20984e0efc054ba8de75011757b28ba33322dfcc961c61636329d5d95325ec

Contents?: true

Size: 393 Bytes

Versions: 92

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

class InstanceMethod
  def to_s
    'Instance Method fixture'
  end

  def say_default
    'default'
  end

  def say_echo(arg)
    arg.to_s
  end

  def say_kw(kw: 'kw')
    kw.to_s
  end

  def say_kws(*args, kw1:, kw2: 'kw2', **kws)
    [kw1, kw2, kws, args].join
  end

  def say_block(&block)
    yield
  end

  def say_the_time
    Time.now.to_s
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
appmap-0.83.4 spec/fixtures/hook/instance_method.rb
appmap-0.83.3 spec/fixtures/hook/instance_method.rb
appmap-0.83.2 spec/fixtures/hook/instance_method.rb
appmap-0.83.1 spec/fixtures/hook/instance_method.rb
appmap-0.83.0 spec/fixtures/hook/instance_method.rb
appmap-0.82.0 spec/fixtures/hook/instance_method.rb
appmap-0.81.1 spec/fixtures/hook/instance_method.rb
appmap-0.81.0 spec/fixtures/hook/instance_method.rb
appmap-0.80.2 spec/fixtures/hook/instance_method.rb
appmap-0.80.1 spec/fixtures/hook/instance_method.rb
appmap-0.80.0 spec/fixtures/hook/instance_method.rb
appmap-0.79.0 spec/fixtures/hook/instance_method.rb
appmap-0.78.0 spec/fixtures/hook/instance_method.rb
appmap-0.77.4 spec/fixtures/hook/instance_method.rb
appmap-0.77.3 spec/fixtures/hook/instance_method.rb
appmap-0.77.2 spec/fixtures/hook/instance_method.rb
appmap-0.77.1 spec/fixtures/hook/instance_method.rb
appmap-0.77.0 spec/fixtures/hook/instance_method.rb
appmap-0.76.0 spec/fixtures/hook/instance_method.rb
appmap-0.75.0 spec/fixtures/hook/instance_method.rb