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

Plz namespace your Mashes correctly #28

Open
goblin opened this issue Jul 18, 2013 · 0 comments
Open

Plz namespace your Mashes correctly #28

goblin opened this issue Jul 18, 2013 · 0 comments

Comments

@goblin
Copy link

goblin commented Jul 18, 2013

I want to use the real Mash from the mash gem, together with spice. It causes unexpected, very weird behaviour and breaks horribly:

% pry
r[1] pry(main)> require 'spice'
 => true
[[2] pry(main)> require 'mash'
 => true
[[3] pry(main)> a = Mash.new('attrs' => 3)
 SystemStackError: stack level too deep
from /home/goblin/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/pry-0.9.12.2/lib/pry/pry_instance.rb:328
[4] pry(main)> 

IMO your Mash should be called something like Spice::Mash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant