lib/peeky/class_info.rb
# Holds an instance to the class you are gathering information from
Holds an instance to the class you are gathering information from
Holds an instance to the class you are gathering information from
def ruby_private_methods
      @ruby_private_methods ||= ruby_private_method_names.map { |method_name| instance.method(method_name) }
    rescue StandardError => e
      puts e
    end
def ruby_private_methods @ruby_private_methods ||= ruby_private_method_names . map { | method_name | instance . method ( method_name ) } rescue StandardError => e puts e end
Holds an instance to the class you are gathering information from
Holds an instance to the class you are gathering information from
# puts 'ruby_private_methods'