Class: Kumade::JammitPackager

Inherits:
Object
  • Object
show all
Defined in:
lib/kumade/packagers/jammit_packager.rb

Class Method Summary collapse

Class Method Details

.assets_pathObject



8
9
10
# File 'lib/kumade/packagers/jammit_packager.rb', line 8

def self.assets_path
  File.join(Jammit::PUBLIC_ROOT, Jammit.package_path)
end

.installed?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/kumade/packagers/jammit_packager.rb', line 12

def self.installed?
  !!defined?(Jammit)
end

.packageObject



16
17
18
# File 'lib/kumade/packagers/jammit_packager.rb', line 16

def self.package
  Jammit.package!
end