Module: Dhall::Util::ArrayAllTheSame
- Defined in:
- lib/dhall/util.rb
Class Method Summary collapse
Class Method Details
.===(other) ⇒ Object
51 52 53 |
# File 'lib/dhall/util.rb', line 51 def self.===(other) Array === other && other.all? { |x| x == other.first } end |