Module: Byebug::Helpers::PathHelper

Included in:
Context, RestartCommand
Defined in:
lib/byebug/helpers/path.rb

Overview

Utilities for managing gem paths

Instance Method Summary collapse

Instance Method Details

#all_filesObject



15
16
17
18
# File 'lib/byebug/helpers/path.rb', line 15

def all_files
  @all_files ||=
    Dir.glob(File.expand_path('../../../../**/*.rb', __FILE__))
end

#bin_fileObject



7
8
9
# File 'lib/byebug/helpers/path.rb', line 7

def bin_file
  @bin_file ||= Gem.bin_path('byebug', 'byebug')
end

#lib_filesObject



11
12
13
# File 'lib/byebug/helpers/path.rb', line 11

def lib_files
  @lib_files ||= Dir.glob(File.expand_path('../../../**/*.rb', __FILE__))
end