cheezy / page-object

Gem to implement PageObject pattern in watir-webdriver and selenium-webdriver
MIT License
653 stars 220 forks source link

Update to Yard documentation #504

Closed deibele1 closed 2 years ago

deibele1 commented 3 years ago

Yard provides an overload annotation for when methods behave differently depending on what parameters are passed. The accessor methods behave entirely differently depending on whether a block is passed to them. I have added the overload annotation to the Yard comments to better document the different handling