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