Module: Lab42::Tmux::Plugins
- Extended by:
- Plugins
- Included in:
- Plugins
- Defined in:
- lib/lab42/tmux/plugins.rb,
lib/lab42/tmux/plugins/conflict.rb
Constant Summary collapse
- Conflict =
Class.new RuntimeError
Instance Attribute Summary collapse
-
#registered ⇒ Object
readonly
Returns the value of attribute registered.
Instance Method Summary collapse
Instance Attribute Details
#registered ⇒ Object (readonly)
Returns the value of attribute registered.
7 8 9 |
# File 'lib/lab42/tmux/plugins.rb', line 7 def registered @registered end |
Instance Method Details
#register(a_module, as: nil) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/lab42/tmux/plugins.rb', line 9 def register a_module, as: nil if as # Not yet implemented raise ArgumentError 'as: is not yet implemented' register_namespaced a_module, as else register_directly a_module end end |