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