Class: Rundoc::PegTransformer::Visability

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/peg_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandObject (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

#resultObject (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