Class: Cliqr::Command::ArgumentOperatorContext Private

Inherits:
Object
  • Object
show all
Defined in:
lib/cliqr/command/argument_operator_context.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Context in which a anonymous argument operator runs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ArgumentOperatorContext

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Create a argument operator context for a value



15
16
17
# File 'lib/cliqr/command/argument_operator_context.rb', line 15

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Value to operator on

Returns:

  • (Object)


12
13
14
# File 'lib/cliqr/command/argument_operator_context.rb', line 12

def value
  @value
end