method

init_module

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

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 19
      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.