Class: KRL_CMD::Show

Inherits:
Object
  • Object
show all
Defined in:
lib/show.rb

Class Method Summary collapse

Class Method Details

.go(args) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/show.rb', line 3

def self.go(args)
  version = args.to_s.empty? ? "development" : args.to_s.to_i
  require LIB_DIR + 'common'
  app = KRL_COMMON::get_app
  puts "KRL for version #{version}"      
  puts app.krl(version)
end