Set required_ruby_version
Rename .generate into .open
Add an instance method #generate
Fix the behavior of .open
Add usage examples to README