Method: Conify::Command#command_file_paths

Defined in:
lib/conify/command.rb

#command_file_pathsObject

Feturn an array of all command file paths, with the exception of abstract_command.rb



267
268
269
270
# File 'lib/conify/command.rb', line 267

def command_file_paths
  abstract_file = File.join(File.dirname(__FILE__), 'command', 'abstract_command.rb')
  Dir[File.join(File.dirname(__FILE__), 'command', '*.rb')] - [abstract_file]
end