Class: Bashly::Libraries::Base
- Inherits:
-
Object
- Object
- Bashly::Libraries::Base
- Defined in:
- lib/bashly/libraries/base.rb
Direct Known Subclasses
CompletionsFunction, CompletionsScript, CompletionsYAML, Help
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
- #files ⇒ Object
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
- #post_install_message ⇒ Object
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
#args ⇒ Object (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
#files ⇒ Object
10 11 12 |
# File 'lib/bashly/libraries/base.rb', line 10 def files raise NotImplementedError, 'Please implement #files' end |
#post_install_message ⇒ Object
14 15 16 |
# File 'lib/bashly/libraries/base.rb', line 14 def nil end |