Method: ReactiveRuby::ComponentLoader#load!
- Defined in:
- lib/reactive-ruby/component_loader.rb
#load!(file = components) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/reactive-ruby/component_loader.rb', line 18 def load!(file = components) return true if loaded? self.load(file) ensure raise "No HyperReact components found in #{components}" unless loaded? end |