Commit 390f03434257e4aea5df20ebb9e07c157c9cc883

Authored by Krzysiek Szczuka
1 parent fd1eed27
Exists in master

better usage in readme

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
README.md
... ... @@ -28,16 +28,16 @@ Or install it yourself as:
28 28 ## Configuration
29 29  
30 30 ```ruby
31   - LetterAvatar.setup do |config|
32   - config.cache_base_path='public/system/lets' # default is 'public/system'
33   - end
  31 +LetterAvatar.setup do |config|
  32 + config.cache_base_path='public/system/lets' # default is 'public/system'
  33 +end
34 34 ```
35 35  
36 36 ## Usage
37 37  
38 38 ```ruby
39   - LetterAvatar::Avatar.generate 'ksz2k', 200
40   - => "public/system/letter_avatars/2/K/87_178_230/200.png"
  39 +LetterAvatar::Avatar.generate 'ksz2k', 200
  40 +=> "public/system/letter_avatars/2/K/87_178_230/200.png"
41 41 ```
42 42  
43 43 ## Contributing
... ...