Class: Helpers::NewSystemd
Instance Method Summary collapse
- #add ⇒ Object
-
#initialize(string, name) ⇒ NewSystemd
constructor
A new instance of NewSystemd.
Methods inherited from NewFile
Constructor Details
#initialize(string, name) ⇒ NewSystemd
Returns a new instance of NewSystemd.
47 48 49 50 51 |
# File 'lib/amnesie/helpers.rb', line 47 def initialize(string, name) super @systemd_dir = search_systemd_dir @dest = @systemd_dir + "/" + @name end |