module RubyFeatures::Utils::ConstAccessor20

Public Instance Methods

ruby_const_defined?(target, const_name) click to toggle source
# File lib/ruby-features/utils/const_accessor_20.rb, line 4
def ruby_const_defined?(target, const_name)
  target.const_defined?(const_name)
end
ruby_const_get(target, const_name) click to toggle source
# File lib/ruby-features/utils/const_accessor_20.rb, line 8
def ruby_const_get(target, const_name)
  target.const_get(const_name)
end