hi guys, I have a problem with creating a method which is a rgb calculator. I want to add some validations like the calculation works if you type 3 values (r, g, b) and each value is in range (0..255)
hi guys, I'm learning sinatra, now trying to build a reddit app based on the tutorial http://www.drurly.com/blog/2012/06/05/build-reddit-in-sinatra/. I cut haml snippet code from reddit.rb file and pasted to views/index.haml and now after running server I can see error 'LocalJumpError at / no block given (yield)'
my gist: https://gist.github.com/anonymous/56d14f193ecb1ce18827be5d2520d9b9