Class: Protod::Interpreter::ActiveRecord

Inherits:
Object
  • Object
show all
Defined in:
lib/protod/interpreter/active_record.rb

Class Method Summary collapse

Class Method Details

.setup!Object



6
7
8
9
# File 'lib/protod/interpreter/active_record.rb', line 6

def self.setup!
  setup_active_model! if defined?(::ActiveModel::Attributes)
  setup_active_record! if defined?(::ActiveRecord::Attributes)
end