lib/genspec/generator_example_group.rb
# Returns the input stream to be used for this context. If this context doesn't
# have an input stream, its superclass is checked, and so on until either the
# parent isn't a GenSpec or an input stream is found. Only the closest input
# stream is used; any streams specified above the discovered input stream are
# ignored.
Returns the input stream to be used for this context. If this context doesn't
have an input stream, its superclass is checked, and so on until either the
parent isn't a GenSpec or an input stream is found. Only the closest input
stream is used; any streams specified above the discovered input stream are
ignored.
Returns the input stream to be used for this context . If this context doesn ' t have an input stream its superclass is checked and so on until either the parent isn ' t a GenSpec or an input stream is found . Only the closest input stream is used ; any streams specified above the discovered input stream are ignored .
def generator_input
        return metadata[:generator_input] if metadata[:generator_input]
        metadata[:generator_input] = if genspec_subclass?
          superclass.generator_input
        else
          nil
        end
      end
def generator_input return metadata [ :generator_input ] if metadata [ :generator_input ] metadata [ :generator_input ] = if genspec_subclass? superclass . generator_input else nil end end
Returns the input stream to be used for this context.
Returns the input stream to be used for this context .