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



242
243
244
245
# File 'lib/jruby/scala_support.rb', line 242

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

#delete(o) ⇒ Object



247
248
249
250
# File 'lib/jruby/scala_support.rb', line 247

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