Sha256: fb73e78015db2ff5d5a103afccd0b934e920c7628f00c7094b59b27348a0467c
Contents?: true
Size: 287 Bytes
Versions: 16
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true class Sinclair class DummyClassBuilder < Sinclair def init add_class_method(:blocked) { 1 } add_class_method(:defined, "@value = value + #{options_object&.increment || 1}") add_class_method(:value, '@value ||= 0') end end end
Version data entries
16 entries across 16 versions & 1 rubygems