結果 : ruby define instance method dynamically