class Steep::Interface::Block
def to_s
def to_s self_binding = self_type ? "[self: #{self_type}] " : "" "#{optional? ? "?" : ""}{ #{type.params} #{self_binding}-> #{type.return_type} }" end
def to_s self_binding = self_type ? "[self: #{self_type}] " : "" "#{optional? ? "?" : ""}{ #{type.params} #{self_binding}-> #{type.return_type} }" end