lib/kernel.rb in fix-1.0.0.beta7 vs lib/kernel.rb in fix-1.0.0.beta8
- old
+ new
@@ -15,15 +15,15 @@
# Fix :Answer do
# it MUST equal 42
# end
#
# # A test
- # Fix[:Answer].test { 42 }
+ # Fix[:Answer].against { 42 }
#
- # @param name [String, Symbol] The name of the specification document.
+ # @param name [String, Symbol] The constant name of the specifications.
# @param block [Proc] The specifications.
#
- # @return [#test] The collection of specifications.
+ # @return [#against] The collection of specifications.
#
# @api public
def Fix(name = nil, &block)
klass = ::Class.new(::Fix::Dsl)
klass.const_set(:CONTEXTS, [klass])