Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't raise errors when using hash access #1

Closed
naw opened this issue Sep 23, 2015 · 0 comments · Fixed by #3
Closed

Doesn't raise errors when using hash access #1

naw opened this issue Sep 23, 2015 · 0 comments · Fixed by #3
Labels

Comments

@naw
Copy link

naw commented Sep 23, 2015

sos = StrictOpenStruct.new(first_name: 'Adam')
sos.first_nam # raises exception due to typo
sos[:first_name] # returns nil instead of exception
@naw naw added the bug label Sep 23, 2015
@naw naw closed this as completed in #3 Mar 15, 2016
naw pushed a commit that referenced this issue Mar 15, 2016
Raise errors when using hash access (fixes #1)
naw pushed a commit that referenced this issue Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant