Method: Specifier::Context#initialize
- Defined in:
- lib/specifier/context.rb
#initialize(description, &block) ⇒ Context
Returns a new instance of Context.
31 32 33 34 35 36 37 |
# File 'lib/specifier/context.rb', line 31 def initialize(description, &block) @description = description @block = block @children = [] @examples = [] @definitions = [] end |