Sha256: a777f559e9702b3880b4651f63d09d4c3865cce98ba24d6cf2c52e2dff02de85

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 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_block(&block)
    yield
  end

  def say_the_time
    Time.now.to_s
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
appmap-0.37.0 spec/fixtures/hook/instance_method.rb
appmap-0.36.0 spec/fixtures/hook/instance_method.rb
appmap-0.35.2 spec/fixtures/hook/instance_method.rb
appmap-0.35.1 spec/fixtures/hook/instance_method.rb
appmap-0.35.0 spec/fixtures/hook/instance_method.rb
appmap-0.34.5 spec/fixtures/hook/instance_method.rb
appmap-0.34.4 spec/fixtures/hook/instance_method.rb
appmap-0.34.2 spec/fixtures/hook/instance_method.rb
appmap-0.34.1 spec/fixtures/hook/instance_method.rb