lib/spnet/storage/link_state.rb in spnet-0.1.7 vs lib/spnet/storage/link_state.rb in spnet-0.1.8
- old
+ new
@@ -13,10 +13,10 @@
}
attr_reader :from, :to
def initialize args
- hash_make ARG_SPECS, args
+ hash_make args, ARG_SPECS
end
# Make a Link objet from the current LinkState object.
def make_link blocks
raise "from block #{@from.block_name} not found" unless blocks.has_key?(@from.block_name)