Skip to content

Commit

Permalink
doc: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf authored Feb 23, 2024
1 parent 3572371 commit c68d099
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,17 +270,17 @@ totem.get("id").as_i # => 123
totem.bind_env("f", "FOOD")
totem.get("f").as_s # => "Pinapple"
totem.automative_env
totem.automatic_env
totem.get("name").as_s # => "Polly"
```

Working with environment prefix:

```crystal
totem.automative_env(prefix: "totem")
totem.automatic_env(prefix: "totem")
# Same as
# totem.env_prefix = "totem"
# totem.automative_env = true
# totem.automatic_env = true
totem.get("id").as_i # => 123
totem.get("food").as_s # => "Pinapple"
Expand Down

0 comments on commit c68d099

Please sign in to comment.