Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details>
tag!
<details>
<summary>Summary Goes Here</summary>
require "spec_helper" | |
describe "Proprietors sign in", focus: true do | |
it "allows proprietors to sign in after they have registered" do | |
user = create_user | |
visit proprietor_login_path | |
fill_in "Email", :with => user.email | |
fill_in "Password", :with => "secret" | |
click_button "Sign In" |
def introduction(age, sex, *names) | |
temp = *(names.join) # * is applied to (names.join) | |
temp = ["SidSamuelSmith"] # an Array | |
puts *names.join.class # #join is sent to (*names) | |
puts "SidsamuelSmith".class # a String | |
puts temp.class | |
end |