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.



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

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

Instance Attribute Details

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

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