<commit_before>def time
  Time.new.strftime("as of %I:%M:%S")
end

def say_hello(name, health=100)
  "I'm #{name.capitalize} with a health of #{health} #{time}."
end

puts say_hello("larry", 60)
puts say_hello("curly", 125)
puts say_hello("moe")
puts say_hello("shemp", 90)<commit_msg>created basic player class<commit_after>class Player
  def initialize(name, health=100)
    @name = name
    @health = health
  end

  def time
    Time.new.strftime("as of %I:%M:%S")
  end

  def to_s
   "I'm #{@name.capitalize} with a health of #{@health} #{time}."
  end
end


player1 = Player.new("larry", 60)
puts player1

player2 = Player.new("curly", 125)
puts player2

player3 = Player.new("moe")
puts player3

player4 = Player.new("shemp", 90)
puts player4
{'fraction_non_alphanumeric': 0.15466666666666667, 'fraction_numerical': 0.037333333333333336, 'mean_word_length': 4.522058823529412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1702180', 'n_tokens_mistral': 315, 'n_tokens_neox': 286, 'n_words': 78}