method

init_module

Importance_0
1.1.12 - Show latest stable - 0 notes - Class: Spec::Story::Step
init_module(name, &block) private

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/story/step.rb, line 36
      def init_module(name, &block)
        sanitized_name = sanitize(name)
        @mod = Module.new do
          define_method(sanitized_name, &block)
        end
      end
Register or log in to add new notes.