Module: CoderDecorator

Defined in:
lib/coder_decorator.rb,
lib/coder_decorator/coders/zip.rb,
lib/coder_decorator/coders/hmac.rb,
lib/coder_decorator/coders/json.rb,
lib/coder_decorator/coders/coder.rb,
lib/coder_decorator/coders/base64.rb,
lib/coder_decorator/coders/cipher.rb,
lib/coder_decorator/coders/rescue.rb,
lib/coder_decorator/coders/marshal.rb,
lib/coder_decorator/coders/identity.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Coders

Class Method Summary collapse

Class Method Details

.coder_namesObject



16
17
18
19
20
21
22
# File 'lib/coder_decorator.rb', line 16

def self.coder_names
  @coder_names ||= begin
    coder_names = Dir["#{__dir__}/coder_decorator/coders/*"].map! { |name| File.basename(name, '.rb') }
    coder_names.delete('coder')
    coder_names
  end
end