Sha256: 75832ad488d9c31fc150431409db408ef226751cc3636d7852021c63e96a5d51
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
#!/usr/bin/env ruby ## # Provides a IRB session with a NcsNavigator::Mdes::Specification instance # for free-form prodding. # Allow this executable to be run directly from the source as well as # from an installed gem. begin lib = File.expand_path('../../lib', __FILE__) unless $LOAD_PATH.include?(lib) $LOAD_PATH << lib require 'rubygems' end end require 'irb' require 'ncs_navigator/mdes' $mdes12 = NcsNavigator::Mdes::Specification.new('1.2') $mdes20 = NcsNavigator::Mdes::Specification.new('2.0') $mdes21 = NcsNavigator::Mdes::Specification.new('2.1') $mdes22 = NcsNavigator::Mdes::Specification.new('2.2') expected_loc = ENV[NcsNavigator::Mdes::SourceDocuments::BASE_ENV_VAR] ? ENV[NcsNavigator::Mdes::SourceDocuments::BASE_ENV_VAR].inspect : 'the default location' puts "Documents are expected to be in #{expected_loc}." puts "$mdes12 is a Specification for 1.2" puts "$mdes20 is a Specification for 2.0" puts "$mdes21 is a Specification for 2.1" puts "$mdes22 is a Specification for 2.2" IRB.start(__FILE__)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ncs_mdes-0.6.1 | bin/mdes-console |