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

Returns a new instance of Visability.



220
221
222
223
# File 'lib/rundoc/peg_parser.rb', line 220

def initialize(command:, result:)
  @command = command
  @result = result
end

Instance Attribute Details

#commandObject (readonly) Also known as: command?

Returns the value of attribute command.



217
218
219
# File 'lib/rundoc/peg_parser.rb', line 217

def command
  @command
end

#resultObject (readonly) Also known as: result?

Returns the value of attribute result.



217
218
219
# File 'lib/rundoc/peg_parser.rb', line 217

def result
  @result
end