README.md in usable-3.1.0 vs README.md in usable-3.2.0
- old
+ new
@@ -73,13 +73,13 @@
extend Usable
config.language = :en
config do
country 'US'
state 'Hawaii'
- spec :census, {
+ census({
population: 1_400_00,
- daily_visitors: 218_150
- }
+ daily_visitors: 218_150
+ })
end
end
Model.usable Mixin
Model.usables[:state] # => 'Hawaii'