Ruby: How to capture and resolve undefined method when requiring a subclass file

前端 未结 0 1296
[愿得一人]
[愿得一人] 2020-12-22 11:44

There is a DSL ruby file which I need to parse. It looks like

# file B.rb
class B < A
  hello "John"
end

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题