Category: ruby

0

Generate background pattern in Ruby

We will see how to generate a SVG background with triangle patterns in ruby to have something that look likes this: At first, install the TrianglePattern gem: 1$ gem install triangle_pattern Then we

0

Ruby cheat sheet with examples

Take it easy Ruby! Basic concepts# Hello World# 1puts "Hello World!" Comments# 123456# single line comment=begin Multi-lines comment=end Variables# 12my_var = 42My_constant_var = 31337 Shorthand ass