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
227 228 229 230 |
# File 'lib/jruby/scala_support.rb', line 227 def add(o) raise ImmutableException, "Cannot add #{o} to #{self}: immutable collection" end |
#delete(o) ⇒ Object
232 233 234 235 |
# File 'lib/jruby/scala_support.rb', line 232 def delete(o) raise ImmutableException, "Cannot delete #{o} from #{self}: immutable collection" end |