Techtalk design patterns

download Techtalk design patterns

of 43

  • date post

    14-Jun-2015
  • Category

    Technology

  • view

    131
  • download

    0

Embed Size (px)

Transcript of Techtalk design patterns

')! else! raise "Unknown format: #{format}"! end! ! @text.each do |line|! if format == :plain! puts(line)! else! puts("

#{line}

" )! end! end! ! if format == :html! puts('