Ruby: added generation of methods like class constructors

Added short form of an object construction.
```ruby
ptrn = Pattern("123.png").similar(0.5)
scr = Screen()
```