Class: JRuby::ScalaSupport::Set::Mutable

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/jruby/scala_support.rb

Instance Method Summary collapse

Methods included from Common

#+, #-, #each, #to_s

Instance Method Details

#add(o) ⇒ Object



346
347
348
349
# File 'lib/jruby/scala_support.rb', line 346

def add(o)
  @raw.send(:"+=", o.to_scala)
  self
end

#delete(o) ⇒ Object



351
352
353
354
# File 'lib/jruby/scala_support.rb', line 351

def delete(o)
  @raw.send(:"-=", o.to_scala)
  self
end