Class: ActiveRecord::FixtureSet::RenderContext

Inherits:
Object
  • Object
show all
Defined in:
activerecord/lib/active_record/fixtures.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.create_subclassObject


1014
1015
1016
1017
1018
1019
1020
# File 'activerecord/lib/active_record/fixtures.rb', line 1014

def self.create_subclass
  Class.new ActiveRecord::FixtureSet.context_class do
    def get_binding
      binding()
    end
  end
end