lib/Checked/Demand/Hashs.rb in Checked-1.0.0 vs lib/Checked/Demand/Hashs.rb in Checked-1.1.0
- old
+ new
@@ -1,14 +1,14 @@
module Checked
class Demand
class Hashs
+ include Uni_Arch::Base
include Demand::Base
-
namespace '/hash!'
- before
- def validate_target_class
+ route
+ def check!
fail!("...must be a Hash") unless hash?(target)
end
route
def symbol_keys!