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
Returns a new instance of Visability.
217 218 219 220 |
# File 'lib/rundoc/peg_parser.rb', line 217 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.
214 215 216 |
# File 'lib/rundoc/peg_parser.rb', line 214 def command @command end |
#result ⇒ Object (readonly) Also known as: result?
Returns the value of attribute result.
214 215 216 |
# File 'lib/rundoc/peg_parser.rb', line 214 def result @result end |