Class: ProconBypassMan::DeviceConnection::Executer::Value
- Inherits:
-
Object
- Object
- ProconBypassMan::DeviceConnection::Executer::Value
- Defined in:
- lib/procon_bypass_man/device_connection/executor.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#call_block_if_receive ⇒ Object
Returns the value of attribute call_block_if_receive.
-
#read_from ⇒ Object
Returns the value of attribute read_from.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(values:, read_from:, call_block_if_receive: false, &block) ⇒ Value
constructor
A new instance of Value.
Constructor Details
#initialize(values:, read_from:, call_block_if_receive: false, &block) ⇒ Value
Returns a new instance of Value.
7 8 9 10 11 12 |
# File 'lib/procon_bypass_man/device_connection/executor.rb', line 7 def initialize(values: , read_from: , call_block_if_receive: false, &block) @values = values @read_from = read_from @call_block_if_receive = call_block_if_receive @block = block end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
5 6 7 |
# File 'lib/procon_bypass_man/device_connection/executor.rb', line 5 def block @block end |
#call_block_if_receive ⇒ Object
Returns the value of attribute call_block_if_receive.
5 6 7 |
# File 'lib/procon_bypass_man/device_connection/executor.rb', line 5 def call_block_if_receive @call_block_if_receive end |
#read_from ⇒ Object
Returns the value of attribute read_from.
5 6 7 |
# File 'lib/procon_bypass_man/device_connection/executor.rb', line 5 def read_from @read_from end |
#values ⇒ Object
Returns the value of attribute values.
5 6 7 |
# File 'lib/procon_bypass_man/device_connection/executor.rb', line 5 def values @values end |