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