I hereby claim:
- I am seesmith on github.
- I am cgknowles (https://keybase.io/cgknowles) on keybase.
- I have a public key ASAauZo3R9xEF7h1auIUt_TClWjq4slCXc1RBEda0pZTego
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class Configuration | |
attr_accessor :tail_logs | |
attr_accessor :max_connections | |
attr_accessor :admin_password | |
attr_accessor :app_server | |
def initialize | |
@app_server = AppServer.new | |
end |
def counter(start, increment) | |
lambda do | |
current = start | |
start += increment | |
current | |
end | |
end | |
result = counter(2,3) | |
puts result.call |