Module: HaveCode::DMCode::ClassMethods

Defined in:
lib/have-code/dm_code.rb

Instance Method Summary collapse

Instance Method Details

#have_code(mod, a, b) ⇒ Object



8
9
10
11
12
13
# File 'lib/have-code/dm_code.rb', line 8

def have_code(mod, a, b)
  write_inheritable_attribute :have_code_cipher, Affine::Cipher.new(mod, a, b)

  extend OptionalClassMethods
  include HaveCode::CommonCode::InstanceMethods
end