Embed presentation
Download to read offline




![takes :name, /^[A-Z]/
takes :options, Hash do
takes :lang, [:en, :de, :cs, :sk]
end
def hello_world(name, options = {})
#...
end](https://image.slidesharecdn.com/lightning-110528112856-phpapp02/75/ActiveDoc-5-2048.jpg)



This document discusses ActiveDoc, a documentation system that allows executable documentation to validate parameter types and raise exceptions. It aims to address issues with out-of-date and missing documentation by specifying parameter types like strings, hashes, enums, and regular expressions. The system is not yet production-ready and currently only supports Ruby 1.9, but is open for contributors on GitHub.




![takes :name, /^[A-Z]/
takes :options, Hash do
takes :lang, [:en, :de, :cs, :sk]
end
def hello_world(name, options = {})
#...
end](https://image.slidesharecdn.com/lightning-110528112856-phpapp02/75/ActiveDoc-5-2048.jpg)

