Method: NicInfo::Main#get_jcr_strict_context
- Defined in:
- lib/nicinfo/nicinfo_main.rb
#get_jcr_strict_context ⇒ Object
774 775 776 777 778 779 780 781 782 783 784 |
# File 'lib/nicinfo/nicinfo_main.rb', line 774 def get_jcr_strict_context if @jcr_strict_context != nil return @jcr_strict_context end #else strict_file = File.join( File.dirname( __FILE__ ), NicInfo::JCR_DIR, NicInfo::STRICT_RDAP_JCR ) strict = File.open( strict_file ).read rdap_context = get_jcr_context() @jcr_strict_context = rdap_context.override(strict ) return @jcr_strict_context end |