Sha256: 076fb6b891d3696c5e0cbef34cb1d94a00217adadc31eb72b39edd38349cb4d5

Contents?: true

Size: 630 Bytes

Versions: 6

Compression:

Stored size: 630 Bytes

Contents

# @appmap
class Main
  class << self
    # @appmap
    def sclass_function
    end
  end

  # @appmap
  def instance_function
  end
end

puts DATA.read
__END__
[
  {
    "name": "Main",
    "location": "$FIXTURE_DIR/function_within_class.rb:2",
    "type": "class",
    "children": [
      {
        "name": "sclass_function",
        "location": "$FIXTURE_DIR/function_within_class.rb:5",
        "type": "function",
        "static": true
      },
      {
        "name": "instance_function",
        "location": "$FIXTURE_DIR/function_within_class.rb:10",
        "type": "function",
        "static": false
      }
    ]
  }
]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
appmap-0.23.0 test/fixtures/parse_file/function_within_class.rb
appmap-0.22.0 test/fixtures/parse_file/function_within_class.rb
appmap-0.21.0 test/fixtures/parse_file/function_within_class.rb
appmap-0.20.0 test/fixtures/parse_file/function_within_class.rb
appmap-0.19.0 test/fixtures/parse_file/function_within_class.rb
appmap-0.18.1 test/fixtures/parse_file/function_within_class.rb