Since, I may use this library in the future, I may add more improvements, such as a real object instead of a Hash, but until I don't need more from this (simple, but excellent) library, I would focus on my projects.
One possible improvement that could affect several parts of the library is using OpenStruct instead of Hash, so the interface is accessed always as object properties instead of hash keys. Do you have any opinion on that @mheap?
Unrelated to that, I was having an error while running the tests because the fixture file was lowercased, but the test wasn't using that convention.
@j-a-m-l thanks for the PR it looks good! We are planning to refactor the library next year and use actual objects instead of hashes - among other things :) -.
Resolves #54.
Since, I may use this library in the future, I may add more improvements, such as a real object instead of a Hash, but until I don't need more from this (simple, but excellent) library, I would focus on my projects.
One possible improvement that could affect several parts of the library is using OpenStruct instead of Hash, so the interface is accessed always as object properties instead of hash keys. Do you have any opinion on that @mheap?
Unrelated to that, I was having an error while running the tests because the fixture file was lowercased, but the test wasn't using that convention.