Class: Rundoc::PegTransformer::Visability
- Inherits:
-
Object
- Object
- Rundoc::PegTransformer::Visability
- Defined in:
- lib/rundoc/peg_parser.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
(also: #command?)
readonly
Returns the value of attribute command.
-
#result ⇒ Object
(also: #result?)
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(command:, result:) ⇒ Visability
constructor
A new instance of Visability.
Constructor Details
#initialize(command:, result:) ⇒ Visability
219 220 221 222 |
# File 'lib/rundoc/peg_parser.rb', line 219 def initialize(command:, result:) @command = command @result = result end |
Instance Attribute Details
#command ⇒ Object (readonly) Also known as: command?
Returns the value of attribute command.
216 217 218 |
# File 'lib/rundoc/peg_parser.rb', line 216 def command @command end |
#result ⇒ Object (readonly) Also known as: result?
Returns the value of attribute result.
216 217 218 |
# File 'lib/rundoc/peg_parser.rb', line 216 def result @result end |