Class: Bashly::Libraries::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/bashly/libraries/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/bashly/libraries/base.rb', line 6

def initialize(*args)
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



4
5
6
# File 'lib/bashly/libraries/base.rb', line 4

def args
  @args
end

Instance Method Details

#filesObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/bashly/libraries/base.rb', line 10

def files
  raise NotImplementedError, 'Please implement #files'
end

#post_install_messageObject



14
15
16
# File 'lib/bashly/libraries/base.rb', line 14

def post_install_message
  nil
end