Class: JRuby::ScalaSupport::Seq::Immutable

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

#[]=(index, value) ⇒ Object

Raises:



272
273
274
275
276
# File 'lib/jruby/scala_support.rb', line 272

def []=(index, value)
  raise ImmutableException,
    "Cannot assign #{value} to index #{index} on #{self
    }: collection immutable"
end