Class: Ora::Cli::Path

Inherits:
Object
  • Object
show all
Defined in:
lib/ora/cli/path.rb

Class Method Summary collapse

Class Method Details

.selectaObject



7
8
9
10
11
12
13
14
# File 'lib/ora/cli/path.rb', line 7

def self.selecta
  path = File.expand_path('~/bin/selecta', __FILE__)
  if File.exists? path
    path
  else
    File.expand_path('../../../../bin/ora-selecta', __FILE__)
  end
end

.tasksObject



3
4
5
# File 'lib/ora/cli/path.rb', line 3

def self.tasks
  File.expand_path('../tasks', __FILE__)
end