module Gallows

Module to hold Gallow graphics

Constants

GALLOWS

Public Class Methods

body() click to toggle source
# File lib/gallows.rb, line 29
  def self.body
    <<-GALLOWS
    ===========
      |/    |
      |     O
      |     |
      |
      |\\
    ============
    GALLOWS
  end
finish() click to toggle source
# File lib/gallows.rb, line 77
  def self.finish
    <<-GALLOWS
    ===========
      |/    |
      |     O
      |    /|\\
      |    / \\
      |\\
    ============
    GALLOWS
  end
head() click to toggle source
# File lib/gallows.rb, line 17
  def self.head
    <<-GALLOWS
    ===========
      |/    |
      |     O
      |
      |
      |\\
    ============
    GALLOWS
  end
left_arm() click to toggle source
# File lib/gallows.rb, line 53
  def self.left_arm
    <<-GALLOWS
    ===========
      |/    |
      |     O
      |    /|\\
      |
      |\\
    ============
    GALLOWS
  end
right_arm() click to toggle source
# File lib/gallows.rb, line 41
  def self.right_arm
    <<-GALLOWS
    ===========
      |/    |
      |     O
      |    /|
      |
      |\\
    ============
    GALLOWS
  end
right_leg() click to toggle source
# File lib/gallows.rb, line 65
  def self.right_leg
    <<-GALLOWS
    ===========
      |/    |
      |     O
      |    /|\\
      |    /
      |\\
    ============
    GALLOWS
  end
start() click to toggle source
# File lib/gallows.rb, line 5
  def self.start
    <<-GALLOWS
    ===========
      |/    |
      |
      |
      |
      |\\
    ============
    GALLOWS
  end