Sha256: 419ff5d6162919631273b43003564a7e3fe3e2b5a3af3704d44a15be09a14564

Contents?: true

Size: 314 Bytes

Versions: 60

Compression:

Stored size: 314 Bytes

Contents

module RSence
module ArgvUtil
  # Main parser for the help command
  def help( cmd )
    cmd.to_sym! if cmd.class != Symbol
    puts @strs[:help][:head]
    if @strs[:help].has_key?(cmd)
      puts @strs[:help][cmd]
    else
      puts @strs[:help][:help_main]
    end
    puts @strs[:help][:tail]
  end
end
end  

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
rsence-pre-2.3.0.2 lib/rsence/argv/help_argv.rb
rsence-pre-2.3.0.1 lib/rsence/argv/help_argv.rb
rsence-pre-2.3.0.0 lib/rsence/argv/help_argv.rb
rsence-2.2.5 lib/rsence/argv/help_argv.rb
rsence-2.2.4 lib/rsence/argv/help_argv.rb
rsence-2.2.3 lib/rsence/argv/help_argv.rb
rsence-2.2.2 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.2.1 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.2.0 lib/rsence/argv/help_argv.rb
rsence-2.2.1 lib/rsence/argv/help_argv.rb
rsence-2.2.0 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.38 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.37 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.36 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.35 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.34 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.33 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.31 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.30 lib/rsence/argv/help_argv.rb
rsence-pre-2.2.0.29 lib/rsence/argv/help_argv.rb