Skip to content

Instantly share code, notes, and snippets.

@sue445
Created Jan 20, 2014
Embed
What would you like to do?
gem名のアンスコとハイフンの違い

ハイフン区切り

$ bundle gem happiness-charge-precure
      create  happiness-charge-precure/Gemfile
      create  happiness-charge-precure/Rakefile
      create  happiness-charge-precure/LICENSE.txt
      create  happiness-charge-precure/README.md
      create  happiness-charge-precure/.gitignore
      create  happiness-charge-precure/happiness-charge-precure.gemspec
      create  happiness-charge-precure/lib/happiness/charge/precure.rb
      create  happiness-charge-precure/lib/happiness/charge/precure/version.rb
Initializing git repo in /Users/sueyoshi_go/tmp/happiness-charge-precure

アンスコ区切り

$bundle gem happiness_charge_precure
      create  happiness_charge_precure/Gemfile
      create  happiness_charge_precure/Rakefile
      create  happiness_charge_precure/LICENSE.txt
      create  happiness_charge_precure/README.md
      create  happiness_charge_precure/.gitignore
      create  happiness_charge_precure/happiness_charge_precure.gemspec
      create  happiness_charge_precure/lib/happiness_charge_precure.rb
      create  happiness_charge_precure/lib/happiness_charge_precure/version.rb
Initializing git repo in /Users/sueyoshi_go/tmp/happiness_charge_precure
@sue445
Copy link
Author

sue445 commented Jan 20, 2014

ハイフン区切りだとnamespaceになるのか。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment