Method: Trollop::Parser#version

Defined in:
lib/croupier/cli/trollop.rb

#version(s = nil) ⇒ Object

Sets the version string. If set, the user can request the version on the commandline. Should probably be of the form “<program name> <version number>”.



239
# File 'lib/croupier/cli/trollop.rb', line 239

def version s=nil; @version = s if s; @version end