Module: Qrb::Syntax::Support
- Included in:
- AdType, AnyType, BuiltinType, ExternalPair, InlinePair
- Defined in:
- lib/qrb/syntax/support.rb
Instance Method Summary collapse
Instance Method Details
#resolve_ruby_const(name) ⇒ Object
5 6 7 8 9 |
# File 'lib/qrb/syntax/support.rb', line 5 def resolve_ruby_const(name) name.split('::').inject(::Kernel){|mod,const| mod.const_get(const) } end |