Class: CommandUtils

Inherits:
Object
  • Object
show all
Defined in:
lib/utils/command_utils.rb

Overview

this was added for testability because I couldn’t figure out something better.

Class Method Summary collapse

Class Method Details

.get_assets(directory) ⇒ Object



3
4
5
# File 'lib/utils/command_utils.rb', line 3

def self.get_assets(directory)
  Dir[File.join(directory, '*')]
end

.get_current_directoryObject



7
8
9
# File 'lib/utils/command_utils.rb', line 7

def self.get_current_directory
  File.dirname(__FILE__)
end