Sha256: 1c7928fb870add2733a7df80eec1ecd4908ed6b129fb5bd2efc72c4c1db29c99
Contents?: true
Size: 491 Bytes
Versions: 20
Compression:
Stored size: 491 Bytes
Contents
require 'simplabs/excellent/parsing/conditional_context' module Simplabs module Excellent module Parsing class CaseContext < ConditionalContext #:nodoc: def initialize(exp, parent) super @has_else_clause = exp.last @tests_parameter = contains_parameter? end def has_else_clause? @has_else_clause end def tests_parameter? @tests_parameter end end end end end
Version data entries
20 entries across 20 versions & 2 rubygems