Module: Dataflow::ConstantizePatch
- Defined in:
- lib/dataflow-rb.rb
Instance Method Summary collapse
Instance Method Details
#constantize(*args) ⇒ Object
166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/dataflow-rb.rb', line 166 def constantize(*args) super rescue NameError => e raise e unless e. =~ /Dataflow::Nodes/ @name_errors ||= Set.new unless @name_errors.include?(e.) p "Warning -- Node class not found. #{e}" @name_errors << e. end Dataflow::Nodes::ComputeNode end |