thbar/kiba-common

Undefined method `ap' for Kernel:Module

Closed this issue · 2 comments

Trying to use show_me! in a simple example script.
I need to explicitly
require "awesome_print".
Otherwise:
show_me.rb:11:in 'block in show_me!': undefined method 'ap' for Kernel:Module (NoMethodError)

(Ruby Version 3.1.2, kiba-common-1.5.0)

You are right! This is by design. The user is expected to manually require either awesome_print or amazing_print.

See this for the context:

Thanks for reporting this!

I'm fixing it in #41 by improving the documentation, which is not clear enough in that regard.

Fixed! Thank you!