lib/spnet/storage/block_state.rb in spnet-0.1.7 vs lib/spnet/storage/block_state.rb in spnet-0.1.8

- old
+ new

@@ -16,10 +16,10 @@ # A new instance of NetworkState. # @param [Hash] args Hashed arguments for initialization. See Network::ARG_SPECS # for details of which keys are required. def initialize args - hash_make BlockState::ARG_SPECS, args + hash_make args, BlockState::ARG_SPECS end # Produce a Block object from the current BlockState object. def make_block args raise ArgumentError, "args does not have :sample_rate key" unless args.has_key?(:sample_rate)