Sha256: 915cd1714d77f009174a8f3bf231b1cec06efb645e5edb13b1767e8504ad253c
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
# frozen_string_literal: true # Top level namespace for the RSpec clone. # # @example # require "r_spec" # # RSpec.describe Integer do # it { expect(41.next).to be 42 } # end # # @api public module RSpec # Specs are built with this method. # # @param const [Module] A module to include in block context. # @param block [Proc] The block to define the specs. # # @api public def self.describe(const, &block) raise ::TypeError, const.class.inspect unless const.is_a?(::Module) DSL.describe(const, &block) end end require_relative File.join("r_spec", "dsl")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
r_spec-1.0.0.beta2 | lib/r_spec.rb |