Class: Baf::Flag

Inherits:
Option show all
Defined in:
lib/baf/flag.rb

Constant Summary collapse

DESCRIPTION_FORMAT =
'enable %s mode'.freeze

Constants inherited from Option

Option::LONG_NORMALIZE_REPLACE, Option::LONG_NORMALIZE_SEARCH, Option::LONG_PREFIX, Option::LONG_WITH_ARG_GLUE, Option::PARSER_MESSAGE, Option::PARSER_MESSAGE_TAIL

Instance Attribute Summary

Attributes inherited from Option

#arg, #block, #desc, #long, #short, #tail

Instance Method Summary collapse

Methods inherited from Option

#block?, #initialize, #tail?, #to_parser_arguments

Constructor Details

This class inherits a constructor from Baf::Option

Instance Method Details

#env_definitionObject



7
8
9
# File 'lib/baf/flag.rb', line 7

def env_definition
  :predicate
end