Sha256: b636ad98fb8800ead5abd995a60ea71497607f1d46fa0322f405e7a963ccf5a6

Contents?: true

Size: 264 Bytes

Versions: 27

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

class Sinclair
  class DummyBuilder < Sinclair
    def init
      add_method(:blocked) { 1 }
      add_method(:defined, "@value = value + #{options_object&.increment || 1}")
      add_method(:value, '@value ||= 0')
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
sinclair-1.10.0 spec/support/models/dummy_builder.rb
sinclair-1.9.0 spec/support/models/dummy_builder.rb
sinclair-1.8.0 spec/support/models/dummy_builder.rb
sinclair-1.7.0 spec/support/models/dummy_builder.rb
sinclair-1.6.7 spec/support/models/dummy_builder.rb
sinclair-1.6.6 spec/support/models/dummy_builder.rb
sinclair-1.6.5 spec/support/models/dummy_builder.rb
sinclair-1.6.4 spec/support/models/dummy_builder.rb
sinclair-1.6.3 spec/support/models/dummy_builder.rb
sinclair-1.6.2 spec/support/models/dummy_builder.rb
sinclair-1.6.1 spec/support/models/dummy_builder.rb
sinclair-1.6.0 spec/support/models/dummy_builder.rb
sinclair-1.5.2 spec/support/models/dummy_builder.rb
sinclair-1.5.1 spec/support/models/dummy_builder.rb
sinclair-1.5.0 spec/support/models/dummy_builder.rb
sinclair-1.4.2 spec/support/models/dummy_builder.rb
sinclair-1.4.1 spec/support/models/dummy_builder.rb
sinclair-1.4.0 spec/support/models/dummy_builder.rb
sinclair-1.3.4 spec/support/models/dummy_builder.rb
sinclair-1.3.3 spec/support/models/dummy_builder.rb