1 2 3 4 5 6 7 8 9 10
# frozen_string_literal: true module ProcCallFrozenSpecs def self.call proc {|a| a }.call("sometext") end def self.call_freeze proc {|a| a }.call("sometext".freeze) end end