<commit_before>#Attr Methods

# I worked on this challenge [by myself, with:]

# I spent [#] hours on this challenge.

class NameData
  attr_reader :name
  def initialize your_name
    @name = your_name
  end

end


class Greetings
  def initialize
    name_data_obj = NameData.new("Julian")
    @name = name_data_obj.name
  end

  def hello<commit_msg>fix pseudocode<commit_after>#Attr Methods

# I worked on this challenge myself

# I spent 2 hours on this challenge.
#PSEUDOCODE
=begin
Create NameData class
  write an att_reader
  define initialize that takes a string, your_name, as a parameter.
    define and set instance variable name to your_name
  END method
END class

Create Greetings class
  define an initialize method
    define and assign name_data_obj to a new NameData object that is passed a name.
  define and set instance variable name to name_data_obj's name.
  END method

  define a hello method
    print out a string greeting method that includes the instance variable name
  end method.
END class.

=end

class NameData
  attr_reader :name
  def initialize your_name
    @name = your_name
  end

end


class Greetings
  def initialize
    name_data_obj = NameData.new("Julian")
    @name = name_data_obj.name
  end

  def hello
{'fraction_non_alphanumeric': 0.044657097288676235, 'fraction_numerical': 0.0007974481658692185, 'mean_word_length': 3.597069597069597, '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': '7559023', 'n_tokens_mistral': 392, 'n_tokens_neox': 375, 'n_words': 158}