lib/genspec/generator_example_group.rb
# Returns the generator output string or IO, or nil.
Returns the generator output string or IO, or nil.
Returns the generator output string or IO or nil .
def generator_output
        return metadata[:generator_output] if metadata[:generator_output]
        metadata[:generator_output] = if genspec_subclass?
          superclass.generator_output
        else
          nil
        end
      end
def generator_output return metadata [ :generator_output ] if metadata [ :generator_output ] metadata [ :generator_output ] = if genspec_subclass? superclass . generator_output else nil end end
Returns the generator output string or IO, or nil.
Returns the generator output string or IO or nil .