add warning when method does not define
Merge pull request #1 from ryopeko/nomethod_warning

add warning when method does not define