Skip to content

Commit 51148f0

Browse files
authored
Update README.md
1 parent 9fef7af commit 51148f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To use FastToml, require the gem and parse your TOML input as shown in the examp
2626
```ruby
2727
require 'fast_toml'
2828

29-
TOML_INPUT = <<~TOML
29+
parsed_data = FastToml.parse <<~TOML
3030
[package]
3131
name = "fast_toml"
3232
version = "0.1.0"
@@ -37,8 +37,6 @@ TOML_INPUT = <<~TOML
3737
magnus = "0.6.4"
3838
toml = "0.8.13"
3939
TOML
40-
41-
parsed_data = FastToml.parse(TOML_INPUT)
4240
```
4341

4442
## Development

0 commit comments

Comments
 (0)