Sha256: 3f6b1325b0023c4bde05bf72f70f1576fc4fa8c88a6bb74438a563f99f2127e8
Contents?: true
Size: 271 Bytes
Versions: 2
Compression:
Stored size: 271 Bytes
Contents
# frozen_string_literal: true # Namespace for the Fix framework. module Fix # Override Fix's It class. class It # @return [Class] The class of the described object. def described_class subject.is_a?(::Class) ? subject : subject.class end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
r_spec-0.3.3 | lib/fix/it.rb |
r_spec-0.3.2 | lib/fix/it.rb |