README in rubymisc-0.0.2 vs README in rubymisc-0.0.3
- old
+ new
@@ -24,15 +24,24 @@
e9: 100.not.instance_of?(Fixnum) # => false
#errors_with_message
e10: begin; raise 'Timeout socket'; rescue errors_with_message(/socket/); p 'socket E'; end
+ #ASSERT
+ e11: ASSERT { fail SecurityError.new('Fail message!') }
+
2.3 Integer
#percent_of
- e11: 50.percent_of(100) # => 50.0
+ e12: 50.percent_of(100) # => 50.0
- 2.4 ActiveRecord::Base
+ 2.4 String
+
+ #^
+ e13: 'rubymisc' ^ 'test' # => "\u0006\u0010\u0011\r\u0019\f\u0000\u0017"
+
+ 2.5 ActiveRecord::Base
+
.validates_url
.validates_email
.validates_image_url
3 Development