Sha256: 2ad1f1fd6c5792a9cb7a15115b10224fb25bf24c79e79527d8abb153cad0f74c
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
# Include this in every module that gets further included. module Reform::Form::Module def self.included(base) base.extend ClassMethods base.extend Declarative::Heritage::DSL # ::heritage base.extend Declarative::Heritage::Included # ::included end module ClassMethods def method_missing(method, *args, &block) heritage.record(method, *args, &block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reform-2.1.0 | lib/reform/form/module.rb |
reform-2.1.0.rc1 | lib/reform/form/module.rb |