Top Level Namespace

Instance Method Summary collapse

Instance Method Details

#eap(*args) ⇒ Object



43
44
45
46
47
48
# File 'lib/extra_print.rb', line 43

def eap(*args)
  @caller_path = caller
  return display_emoji_break if args.empty?
  extra_print(args[0], args[1], true)
  return_value(args[0])
end

#ep(*args) ⇒ Object

NOTE: LEGACY CODE #ep #eap ensure compatibility for future versions #



36
37
38
39
40
41
# File 'lib/extra_print.rb', line 36

def ep(*args)
  @caller_path = caller
  return display_emoji_break if args.empty?
  extra_print(args[0], args[1])
  return_value(args[0])
end

#pe(*args) ⇒ Object

Simply call pe or pea (extra_amazing_print) and pass a variable you want to inspect. Alternatively, call pe or pea with no arguments to display an emoji line break and calling line info.



18
19
20
21
22
23
# File 'lib/extra_print.rb', line 18

def pe(*args)
  @caller_path = caller
  return display_emoji_break if args.empty?
  extra_print(args[0], args[1])
  return_value(args[0])
end

#pea(*args) ⇒ Object



25
26
27
28
29
30
# File 'lib/extra_print.rb', line 25

def pea(*args)
  @caller_path = caller
  return display_emoji_break if args.empty?
  extra_print(args[0], args[1], true)
  return_value(args[0])
end