Module: GitCliPrompt::CliPrompt
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(mtd, *args, &block) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/git_cli_prompt/cli_prompt.rb', line 7 def method_missing(mtd, *args, &block) if pmt.respond_to?(mtd) pmt.send(mtd, *args, &block) else super end end |