Sha256: a205730d7f07aefa35d9b3a7ba83a5d1dba62d7ef62946083b83a041b29b07a9

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 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

3 entries across 3 versions & 1 rubygems

Version Path
flip_fab-1.0.1 spec/support/test_multiple_persistence.rb
flip_fab-1.0.0 spec/support/test_multiple_persistence.rb
flip_fab-0.0.1 spec/support/test_multiple_persistence.rb