README.md in g11n-0.0.2 vs README.md in g11n-0.0.3
- old
+ new
@@ -26,10 +26,11 @@
```ruby
# .script.rb
require "g11n"
G11n.locale :it # Configures G11n to use italian. Default is "en"
+G11n.locale # => :it
G11n.t.home.title # => "La pasta della nonna"
G11n.t.home.menu.wine # => "Con che si accompagna"
```
@@ -76,9 +77,11 @@
> **Note**: g11n is planned to soon be made a Sinatra extension
## Testing
Cucumber features and RSpec specs are provided to check functionality.
+
+An exception is the G11n::Dictionary class, which is just a subclass of SymbolTable that recursively converts all hashes passed as argument to the initializer into Dictionaries. This is really handy.
## License
Copyright (C) 2012 Fetcher