Module: ConsoleBuddy::IRB

Includes:
CSV, HttpRequest, Report
Included in:
Base, Byebug::BuddyCommand
Defined in:
lib/console_buddy/irb.rb

Instance Method Summary collapse

Methods included from Report

#table_for, #table_print

Methods included from HttpRequest

#ping

Methods included from CSV

#generate_csv, #read_csv

Instance Method Details

#buddyObject Also known as: console_buddy

This method is used to define a method on the ‘Object` class. This method will return a new instance of the `ConsoleBuddy::Base` class. Example Usage: buddy.table_for(User.all)



18
19
20
# File 'lib/console_buddy/irb.rb', line 18

def buddy
  ::ConsoleBuddy::Base.new
end