class Bashly::Libraries::Base

Attributes

args[R]

Public Class Methods

new(*args) click to toggle source
# File lib/bashly/libraries/base.rb, line 6
def initialize(*args)
  @args = args
end

Public Instance Methods

files() click to toggle source
# File lib/bashly/libraries/base.rb, line 10
def files
  raise NotImplementedError, 'Please implement #files'
end
post_install_message() click to toggle source
# File lib/bashly/libraries/base.rb, line 14
def post_install_message
  nil
end

Protected Instance Methods

command() click to toggle source
# File lib/bashly/libraries/base.rb, line 20
def command
  @command ||= Script::Command.new config
end
config() click to toggle source
# File lib/bashly/libraries/base.rb, line 24
def config
  @config ||= Config.new Settings.config_path
end