Sha256: 4bb543d03e3bd209b93c4c1b3bfab74e981e8b9ef666d000edb72960f39f20d7
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
module CsvRowModel module HiddenModule extend ActiveSupport::Concern class_methods do def hidden_module @hidden_module ||= Module.new.tap { |mod| include mod } end def define_proxy_method(*args, &block) hidden_module.send(:define_method, *args, &block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
csv_row_model-1.0.0.beta2 | lib/csv_row_model/concerns/hidden_module.rb |