Sha256: 4bfe2072549ffc208f4a3273e9ad6f7052b7a44220abb1418faa793b9e0d4e60

Contents?: true

Size: 275 Bytes

Versions: 8

Compression:

Stored size: 275 Bytes

Contents

class TestMultiplePersistence < FlipFab::Persistence
  def initialize(feature_name, context)
    super
  end

  def read
    context.feature_states[:different_example_feature]
  end

  def write(value)
    context.feature_states[:different_example_feature] = value
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flip_fab-1.1.21 spec/support/test_multiple_persistence.rb
flip_fab-1.1.20 spec/support/test_multiple_persistence.rb
flip_fab-1.1.19 spec/support/test_multiple_persistence.rb
flip_fab-1.1.18 spec/support/test_multiple_persistence.rb
flip_fab-1.0.18 spec/support/test_multiple_persistence.rb
flip_fab-1.0.17 spec/support/test_multiple_persistence.rb
flip_fab-1.0.16 spec/support/test_multiple_persistence.rb
flip_fab-1.0.2 spec/support/test_multiple_persistence.rb