--00151744897e1fee9e04ab6522ba
Content-Type: text/plain; charset=ISO-8859-1
Optimism is a ruby configuration library, with v3.0.0, it's much simple,
now. It's only have two syntax.
*Ruby-syntax*
Rc ptimism do |c|
c.host localhost"
c.port 080
c.mail.stmp.address stmp.gmail.com"
my.development do |c| # namespace
c.adapter postgresql"
c.database hello_development"
c.username foo"
end
c.time roc{ |offset| Time.now } # computed attribute
end
String-syntax
Rc ptimism <<-EOF
host localhost"
port 080
mail.stmp.address stmp.gmail.com"
my.development:
adapter postgresql"
database hello_development"
username foo"
time roc{ |offset| Time.now }
EOF
project homepage: https://github.com/GutenYe/optimism
--
Linux, Vim, Ruby, Lisp, Go, and English.
Github: github.com/GutenYe
website: GutenYe.com
twitter: @gutenye
Optimism <https://github.com/GutenYe/optimism>: a Ruby configuration
library.
ZCM <https://github.com/zcm/zcm>: a ZSH Configuration Manager.
--00151744897e1fee9e04ab6522ba--