Module: KDomain::Gem

Defined in:
lib/k_domain.rb

Class Method Summary collapse

Class Method Details

.resource(resource_path) ⇒ Object



36
37
38
# File 'lib/k_domain.rb', line 36

def self.resource(resource_path)
  File.join(root, resource_path)
end

.rootObject



32
33
34
# File 'lib/k_domain.rb', line 32

def self.root
  File.expand_path('..', File.dirname(__FILE__))
end