回答編集履歴

2

不要な引用削除

2015/04/23 00:25

投稿

退会済みユーザー
test CHANGED
@@ -1,8 +1,4 @@
1
1
  RailsのActiveSupportを使えば簡単にとれます。
2
-
3
-
4
-
5
- require 'active_support/core_ext'
6
2
 
7
3
 
8
4
 

1

参考サイト追加

2015/04/23 00:25

投稿

退会済みユーザー
test CHANGED
@@ -4,4 +4,8 @@
4
4
 
5
5
  require 'active_support/core_ext'
6
6
 
7
+
8
+
9
+ こちらのサイト様を参考
10
+
7
- neko.class.name.demodulize
11
+ http://qiita.com/quanon86/items/9c615d5239f9b6e46379