Class: JRuby::ScalaSupport::Map::Immutable
- Includes:
- Common
- Defined in:
- lib/jruby/scala_support.rb
Instance Method Summary collapse
Methods included from Common
#[], #as_json, #each, #has_key?, #to_s
Instance Method Details
#[]=(key, value) ⇒ Object
111 112 113 114 |
# File 'lib/jruby/scala_support.rb', line 111 def []=(key, value) raise ImmutableException, "Cannot change #{key} on #{self} because it is immutable!" end |