lib/source_route/config.rb
def full_feature(value=true)
      return unless value
      @config.formulize
      @config.event = (@config.event + [:call, :return]).uniq
      @config.import_return_to_call = true
      @config.show_additional_attrs = [:path, :lineno]
      # JSON serialize trigger many problems when handle complicated object(in rails?)
      # a Back Door to open more data. but be care it could trigger weird crash when Jsonify these vars
      if value == 10
        @config.include_instance_var = true
        @config.include_local_var = true
      end
    end
def full_feature(value=true)
      return unless value
      @config.formulize
      @config.event = (@config.event + [:call, :return]).uniq
      @config.import_return_to_call = true
      @config.show_additional_attrs = [:path, :lineno]
      # JSON serialize trigger many problems when handle complicated object(in rails?)
      # a Back Door to open more data. but be care it could trigger weird crash when Jsonify these vars
      if value == 10
        @config.include_instance_var = true
        @config.include_local_var = true
      end
    end
def full_feature ( value = true ) return unless value @config . formulize @config . event = ( @config . event + [ :call , :return ] ) . uniq @config . import_return_to_call = true @config . show_additional_attrs = [ :path , :lineno ] # JSON serialize trigger many problems when handle complicated object(in rails?) # a Back Door to open more data. but be care it could trigger weird crash when Jsonify these vars if value == 10 @config . include_instance_var = true @config . include_local_var = true end end
todo. value equal 10 may not be a good params
todo . value equal 10 may not be a good params