Class: React::Component::Base
Class Method Summary collapse
Class Method Details
.inherited(child) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/react/component/base.rb', line 4 def self.inherited(child) # note this is turned off during old style testing: See the spec_helper unless child.to_s == "React::Component::HyperTestDummy" React::Component.deprecation_warning child, "The class name React::Component::Base has been deprecated. Use Hyperloop::Component instead." end child.include(ComponentNoNotice) end |