Sha256: bb24fd46b78bd2cb679a1339dc70488b284588a0353f8b851d3e622dcc968de4

Contents?: true

Size: 104 Bytes

Versions: 51

Compression:

Stored size: 104 Bytes

Contents

# frozen_string_literal: true

def null_described_class
  "Null#{described_class.name}".constantize
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rspeckled-2.0.1 lib/rspeckled/helpers/null_objects.rb
rspeckled-2.0.0 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.4.0 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.3.1 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.3.0 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.2.1 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.2.0 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.1.3 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.1.2 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.1.1 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.1.0 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.0.5 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.0.4 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.0.3 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.0.2 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.0.1 lib/rspeckled/helpers/null_objects.rb
rspeckled-1.0.0 lib/rspeckled/helpers/null_objects.rb
rspeckled-0.0.64 lib/rspeckled/helpers/null_objects.rb
rspeckled-0.0.63 lib/rspeckled/helpers/null_objects.rb
rspeckled-0.0.62 lib/rspeckled/helpers/null_objects.rb