Class: ShellOpts::Grammar::Section
- Defined in:
- lib/shellopts/grammar.rb,
lib/shellopts/formatter.rb
Constant Summary
Constants inherited from Node
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
- #name ⇒ Object
-
#puts_descr ⇒ Object
This is a hack since the section does not contain any elements - this is an error in the parser.
Methods inherited from Node
#analyzer_error, #ancestors, #dump_ast, #dump_attrs, #dump_idr, #initialize, #inspect, #parents, #parse, parse, #parser_error, #puts_help, #puts_usage, #remove_arg_descr_nodes, #remove_arg_spec_nodes, #remove_brief_nodes, #traverse
Constructor Details
This class inherits a constructor from ShellOpts::Grammar::Node
Instance Method Details
#name ⇒ Object
359 |
# File 'lib/shellopts/grammar.rb', line 359 def name() token.source end |