Module: ActiveRecord::ConnectionAdapters::OracleEnhancedProcedures::ClassMethods
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced_procedures.rb
Instance Method Summary collapse
- #set_create_method(&block) ⇒ Object
- #set_delete_method(&block) ⇒ Object
- #set_update_method(&block) ⇒ Object
Instance Method Details
#set_create_method(&block) ⇒ Object
15 16 17 18 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_procedures.rb', line 15 def set_create_method(&block) include_with_custom_methods self.custom_create_method = block end |
#set_delete_method(&block) ⇒ Object
25 26 27 28 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_procedures.rb', line 25 def set_delete_method(&block) include_with_custom_methods self.custom_delete_method = block end |
#set_update_method(&block) ⇒ Object
20 21 22 23 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_procedures.rb', line 20 def set_update_method(&block) include_with_custom_methods self.custom_update_method = block end |