<commit_before>- content_for :title, '1.1.2 Fix the NoMethodError'

:css
  body {
    background-color: #400;
  }
  p {
    color: white;
  }
  .breadcrumbs {
    font-size: 20pt;
  }
  .breadcrumbs a {
    color: #888;
  }

.breadcrumbs
  %a(href='/')
    = image_tag 'basic_ruby.png'
  &mdash;
  %a(href='/1') 1. Output
  &mdash;
  %a(href='/1.1.') 1.1. Output numbers
  &mdash;
  %a(href='/1.1.2') 1.1.2. Fix the <code>NoMethodError</code>

%p
  = image_tag 'exercise_icons/red_bug30.png', width: 30, height: 30
  This program raises an error on line 2 because of a typo.
  %br
  Run the broken program, and read the error message out loud.

.section.section2
  .code
    puts 1
    %br
    pust 2
    %br
    puts 1
  .machine
    .buttons
      = power_button
      = run_button
    .next-line
      <label style='display: block; font-size: 20pt; color: black; text-align: center; line-height: 18pt; text-shadow: 1px 1px #333, -1px -1px #111; position: relative; top: 30px'>N<br>e<br>x<br>t<br><br>L<br>i<br>n<br>e</label>
    .console(style='height:290px')
  %br(clear='all')

.actions
  %button Help
  %button Forward
  %button Show Answer
<commit_msg>Oops code should be a textarea not a div<commit_after>- content_for :title, '1.1.2 Fix the NoMethodError'

:css
  body {
    background-color: #400;
  }
  p {
    color: white;
  }
  .breadcrumbs {
    font-size: 20pt;
  }
  .breadcrumbs a {
    color: #888;
  }

.breadcrumbs
  %a(href='/')
    = image_tag 'basic_ruby.png'
  &mdash;
  %a(href='/1') 1. Output
  &mdash;
  %a(href='/1.1.') 1.1. Output numbers
  &mdash;
  %a(href='/1.1.2') 1.1.2. Fix the <code>NoMethodError</code>

%p
  = image_tag 'exercise_icons/red_bug30.png', width: 30, height: 30
  This program raises an error on line 2 because of a typo.
  %br
  Run the broken program, and read the error message out loud.

.section.section2
  %textarea.code= "puts 1\npust 2\nputs 1"
  .machine
    .buttons
      = power_button
      = run_button
    .next-line
      <label style='display: block; font-size: 20pt; color: black; text-align: center; line-height: 18pt; text-shadow: 1px 1px #333, -1px -1px #111; position: relative; top: 30px'>N<br>e<br>x<br>t<br><br>L<br>i<br>n<br>e</label>
    .console(style='height:290px')
  %br(clear='all')

.actions
  %button Help
  %button Forward
  %button Show Answer

{'fraction_non_alphanumeric': 0.15358215358215357, 'fraction_numerical': 0.045474045474045474, 'mean_word_length': 2.9863247863247864, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1854673', 'n_tokens_mistral': 1012, 'n_tokens_neox': 946, 'n_words': 240}