Sha256: cafaedd88fedf6df14a6e63532141ffa159791bdb086a76dae78c6a885f89d4a

Contents?: true

Size: 273 Bytes

Versions: 6

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

class ClassMethod
  class << self
    def say_default
      'default'
    end
  end

  def ClassMethod.say_class_defined
    'defined with explicit class scope'
  end

  def self.say_self_defined
    'defined with self class scope'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
appmap-0.28.0 spec/fixtures/hook/class_method.rb
appmap-0.27.0 spec/fixtures/hook/class_method.rb
appmap-0.26.1 spec/fixtures/hook/class_method.rb
appmap-0.26.0 spec/fixtures/hook/class_method.rb
appmap-0.25.2 spec/fixtures/hook/class_method.rb
appmap-0.25.0 spec/fixtures/hook/class_method.rb