Clarified how you access an argument in User Interaction docs #254

Merged
merged 1 commit into from Jun 26, 2014

Projects

None yet

2 participants

@ryanbillingsley

The current documentation for accessing arguments is not accurate. Changed it.

@SBoudrias
Member

It doesn't work for you to access generator.arguments[name] ?

@ryanbillingsley

@SBoudrias Nope, arguments comes back as an Array not a Hash

@SBoudrias
Member

Right, thanks

@SBoudrias SBoudrias merged commit e2c7a1c into yeoman:master Jun 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment