Module: NetSuite::Actions::Initialize::Support
- Defined in:
- lib/netsuite/actions/initialize.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
61 62 63 64 65 66 67 68 |
# File 'lib/netsuite/actions/initialize.rb', line 61 def self.included(base) (class << base; self; end).instance_eval do # We have to do this because Class has a private define_method :initialize do |*args| # #initialize method that this method will override. super(*args) end end base.extend(ClassMethods) end |