Method: Metanorma::Standoc::Utils#processor
- Defined in:
- lib/metanorma/standoc/utils.rb
#processor ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/metanorma/standoc/utils.rb', line 16 def processor parent_type = self.class.name.split("::")[0...-1] parent_type << "Processor" begin Object.const_get(parent_type.join("::")) rescue NameError nil end end |