class Byebug::Printers::Plain

Public Instance Methods

print(path, args = {}) click to toggle source
print_collection(path, collection, &block) click to toggle source
print_variables(variables) click to toggle source

Private Instance Methods

contents_files() click to toggle source
Calls superclass method Byebug::Printers::Base#contents_files
# File lib/byebug/printers/plain.rb, line 47
def contents_files
  [File.expand_path(File.join('..', 'texts', 'plain.yml'), __FILE__)] +
    super
end
get_modifier(path) click to toggle source
# File lib/byebug/printers/plain.rb, line 41
def get_modifier(path)
  modifier_regexp = /\|(\w+)$/
  modifier_match = locate(path).match(modifier_regexp)
  modifier_match && modifier_match[1]
end