Sha256: 487ad3bfa6688d3851f9a990843a956728064828d75e41c253498e168d27fc24
Contents?: true
Size: 433 Bytes
Versions: 15
Compression:
Stored size: 433 Bytes
Contents
require 'simplabs/excellent/parsing/sexp_context' module Simplabs module Excellent module Parsing class ConditionalContext < SexpContext #:nodoc: protected def contains_parameter? return false unless @parent.is_a?(MethodContext) return @exp[1][1] if @exp[1][0] == :lvar and @parent.has_parameter?(@exp[1][1]) false end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems