Skip to content

Commit

Permalink
Fix broken "complex" code example in README
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
tombruijn committed Oct 26, 2017
1 parent bc19d56 commit d72431f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -72,7 +72,8 @@ instrumentation anywhere in your code.
```ruby
# Simple instrumentation
Appsignal.instrument("array_to_hash.expensive_logic", "Complex calculations") do
Hash[["a", 1], ["b", 2], ["c", 3]]
array = [["a", 1], ["b", 2], ["c", 3]]
Hash[array]
end

# Add the query that you're monitoring
Expand Down

0 comments on commit d72431f

Please sign in to comment.