Class: Charmkit::Scroll

Inherits:
Object
  • Object
show all
Includes:
Helpers
Defined in:
lib/charmkit/scroll.rb

Class Method Summary collapse

Methods included from Helpers

#action, #action=, #cat, #cmd, #config, #file, #hook_path, inline_template, #is_installed?, #log, #package, #path, #relation, #relation=, #resource, #status, #template, #unit

Class Method Details

.depends_on(pkg) ⇒ Object

Apt packages that the scroll requires

Parameters:

  • pkg (String)

    Name of apt package



9
10
11
# File 'lib/charmkit/scroll.rb', line 9

def depends_on(pkg)
  Dependencies << pkg
end