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.66.0 spec/fixtures/hook/instance_method.rb
appmap-0.65.1 spec/fixtures/hook/instance_method.rb
appmap-0.65.0 spec/fixtures/hook/instance_method.rb
appmap-0.64.0 spec/fixtures/hook/instance_method.rb
appmap-0.63.0 spec/fixtures/hook/instance_method.rb
appmap-0.62.1 spec/fixtures/hook/instance_method.rb
appmap-0.62.0 spec/fixtures/hook/instance_method.rb
appmap-0.61.1 spec/fixtures/hook/instance_method.rb
appmap-0.61.0 spec/fixtures/hook/instance_method.rb
appmap-0.60.0 spec/fixtures/hook/instance_method.rb
appmap-0.59.2 spec/fixtures/hook/instance_method.rb
appmap-0.59.1 spec/fixtures/hook/instance_method.rb
appmap-0.59.0 spec/fixtures/hook/instance_method.rb
appmap-0.58.0 spec/fixtures/hook/instance_method.rb
appmap-0.57.1 spec/fixtures/hook/instance_method.rb
appmap-0.57.0 spec/fixtures/hook/instance_method.rb
appmap-0.56.0 spec/fixtures/hook/instance_method.rb
appmap-0.55.0 spec/fixtures/hook/instance_method.rb
appmap-0.54.4 spec/fixtures/hook/instance_method.rb
appmap-0.54.3 spec/fixtures/hook/instance_method.rb