RUBY Reference: Blocks
Quick reference for Blocks.
RUBY Reference — Blocks
Quick summary of Blocks with syntax and example.
Syntax
puts "..."
Example
name = "DrSchool"
puts "Hello #{name}"
Quick reference for Blocks.
Quick summary of Blocks with syntax and example.
puts "..."
name = "DrSchool"
puts "Hello #{name}"