Class: Abt::AriList

Inherits:
Array
  • Object
show all
Defined in:
lib/abt/ari_list.rb

Instance Method Summary collapse

Instance Method Details

#-(other) ⇒ Object



9
10
11
# File 'lib/abt/ari_list.rb', line 9

def -(other)
  AriList.new(to_a - other)
end

#to_sObject



5
6
7
# File 'lib/abt/ari_list.rb', line 5

def to_s
  map(&:to_s).join(" -- ")
end