Class: Memo::Alias::Namespace
- Inherits:
-
Object
- Object
- Memo::Alias::Namespace
- Defined in:
- lib/memo/cli/arg/alias.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name) ⇒ Namespace
constructor
A new instance of Namespace.
Constructor Details
Instance Method Details
#call ⇒ Object
20 21 22 23 |
# File 'lib/memo/cli/arg/alias.rb', line 20 def call @config.namespace_alias[:"#{@name}"] || @name end |