Module: Shiritori::SearchMethod
- Included in:
- Main
- Defined in:
- lib/shiritori/search_method.rb
Constant Summary collapse
- UNUSE_METHOD =
[:exit, :abort]
Instance Method Summary collapse
Instance Method Details
#get_all_methods ⇒ Object
5 6 7 |
# File 'lib/shiritori/search_method.rb', line 5 def get_all_methods ObjectSpace.each_object(Module).map(&:instance_methods).inject(&:|) - UNUSE_METHOD end |