Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Conditionally call Module#set_temporary_name (#114)

Signed-off-by: Samuel Giddins <segiddins@segiddins.me>

authored by

Samuel Giddins and committed by
GitHub
764b0149 7b5279f0

+2 -4
+1 -1
lib/literal/properties.rb
··· 75 75 @__literal_extension__ 76 76 else 77 77 @__literal_extension__ = Module.new do 78 - set_temporary_name "Literal::Properties(Extension)" 78 + set_temporary_name "Literal::Properties(Extension)" if respond_to?(:set_temporary_name) 79 79 end 80 80 end 81 81 end
+1 -3
test/properties.test.rb
··· 1 1 # frozen_string_literal: true 2 2 3 - set_temporary_name( 4 - "Quickdraw::Context(in #{__FILE__})", 5 - ) 3 + set_temporary_name("Quickdraw::Context(in #{__FILE__})") if respond_to?(:set_temporary_name) 6 4 7 5 Example = Literal::Object 8 6