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.44.0 spec/fixtures/hook/instance_method.rb
appmap-0.43.0 spec/fixtures/hook/instance_method.rb
appmap-0.42.1 spec/fixtures/hook/instance_method.rb
appmap-0.42.0 spec/fixtures/hook/instance_method.rb
appmap-0.41.2 spec/fixtures/hook/instance_method.rb
appmap-0.41.1 spec/fixtures/hook/instance_method.rb
appmap-0.41.0 spec/fixtures/hook/instance_method.rb
appmap-0.40.0 spec/fixtures/hook/instance_method.rb
appmap-0.39.1 spec/fixtures/hook/instance_method.rb
appmap-0.39.0 spec/fixtures/hook/instance_method.rb
appmap-0.38.1 spec/fixtures/hook/instance_method.rb
appmap-0.37.2 spec/fixtures/hook/instance_method.rb