Sha256: f88688c25e244e2f6fec31830772cffed4a8ae095ed1e4264af0b6ebc8f49982
Contents?: true
Size: 437 Bytes
Versions: 8
Compression:
Stored size: 437 Bytes
Contents
module Memo module Alias class Command def initialize(name) @name = name @config = Memo::Config.new end def call @config.command_alias[:"#{@name}"] end end class Namespace def initialize(name) @name = name @config = Memo::Config.new end def call @config.namespace_alias[:"#{@name}"] || @name end end end end
Version data entries
8 entries across 8 versions & 1 rubygems