I'm confused about what the gem naming convention is when the gem name has more than one word.
thinking-sphinx is the name of the gem, but the base *.rb file for this gem is lib/thinking_sphinx.rb (underscores)
acts-as-taggable-on is the name of the gem, and the base *.rb file is called lib/acts-as-taggable-on.rb (hyphens)
factory_girl uses an underscore in both the gem name and in the name of the base *.rb file
Does it matter if one uses underscores or hyphens? Is any emerging consensus here?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…