Module: DeepCover::Node::SimpleIfItsChildrenAre

Included in:
Range, Regexp
Defined in:
lib/deep_cover/node/literals.rb

Overview

(Potentially) dynamic

Instance Method Summary collapse

Instance Method Details

#simple_literal?Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/deep_cover/node/literals.rb', line 58

def simple_literal?
  children.all?(&:simple_literal?)
end