lib/spnet/ports/command_in_port.rb in spnet-0.1.7 vs lib/spnet/ports/command_in_port.rb in spnet-0.1.8
- old
+ new
@@ -14,10 +14,10 @@
# A new instance of CommandInPort.
# @param [Hash] hashed_args Hashed arguments for initialization. See Network::ARG_SPECS
# for details.
def initialize hashed_args
- hash_make CommandInPort::ARG_SPECS, hashed_args
+ hash_make hashed_args, CommandInPort::ARG_SPECS
super(:matching_class => CommandOutPort)
end
# List the commands that are available.
def list_commands