Class: NeetoCompliance::NeetoCommons

Inherits:
Object
  • Object
show all
Defined in:
lib/neeto_compliance/neeto_commons.rb

Class Method Summary collapse

Class Method Details

.get_pathObject



11
12
13
14
# File 'lib/neeto_compliance/neeto_commons.rb', line 11

def self.get_path
  path = `bundle info neeto-commons-backend`.split(" ").last
  Pathname.new(path).join("lib", "neeto_commons_backend")
end

.pathObject



7
8
9
# File 'lib/neeto_compliance/neeto_commons.rb', line 7

def self.path
  @@_neeto_commons_path ||= get_path
end