Class: Rubycc::Rmake::Executor::Redirection

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubycc/rmake/executor.rb

Overview

One redirection parsed off a command: which stream (:stdout/:stderr), whether it truncates or appends, and the target path (relative to the command's cwd).

Instance Attribute Summary collapse

Instance Attribute Details

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



56
57
58
# File 'lib/rubycc/rmake/executor.rb', line 56

def mode
  @mode
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



56
57
58
# File 'lib/rubycc/rmake/executor.rb', line 56

def path
  @path
end

#streamObject

Returns the value of attribute stream

Returns:

  • (Object)

    the current value of stream



56
57
58
# File 'lib/rubycc/rmake/executor.rb', line 56

def stream
  @stream
end