class FakeServiceBus::CollectionView
Constants
- UnmodifiableObjectError
Public Class Methods
new( original )
click to toggle source
# File lib/fake_servicebus/collection_view.rb, line 11 def initialize( original ) @original = original end
Public Instance Methods
[]=(key_or_index,value)
click to toggle source
# File lib/fake_servicebus/collection_view.rb, line 15 def []=(key_or_index,value) raise UnmodifiableObjectError.new("This is a collection view and can not be modified - #{key_or_index} => #{value}") end