Class: JRuby::ScalaSupport::Set::Immutable
- Includes:
- Common
- Defined in:
- lib/jruby/scala_support.rb
Instance Method Summary collapse
Methods included from Common
Instance Method Details
#add(o) ⇒ Object
331 332 333 334 |
# File 'lib/jruby/scala_support.rb', line 331 def add(o) raise ImmutableException, "Cannot add #{o} to #{self}: immutable collection" end |
#delete(o) ⇒ Object
336 337 338 339 |
# File 'lib/jruby/scala_support.rb', line 336 def delete(o) raise ImmutableException, "Cannot delete #{o} from #{self}: immutable collection" end |