```
>> module A; end
=> nil
>> module B; end
=> nil
>> module A::C; end
=> nil
>> module B::D; end
=> nil
>> 'A::B::D'.split('::').inject(Kernel) { |scope, const_name| scope.const_get(const_name) }
=> B::D
>> 'A::B::D'.split('::').inject(Kernel) { |scope, const_name| scope.const_get(const_name, scope === Kernel) }
NameError: uninitialized constant A::B
	from (irb):12:in `const_get'
	from (irb):12:in `block in irb_binding'
	from (irb):12:in `each'
	from (irb):12:in `inject'
	from (irb):12
	from /usr/local/opt/rbenv/versions/2.0.0-p353/bin/irb:12:in `<main>'
```