module Smartdict::Commands::HasFormatList

Extends {help_message} method to provide list of formats.

Public Class Methods

included(base) click to toggle source
# File lib/smartdict/commands/has_format_list.rb, line 3
def self.included(base)
  base.extend ClassMethods
  base.class_eval do
    class << self
      alias_method_chain :help_message, :formats
    end
  end
end