<commit_before>Feature: Specifying model accessor
  In order to access the underlying model in my presenter methods
  As a developer
  I want to specify an accessor I will use to access the undelying model

  Scenario: Specifiying accessor
    Given I have an ActiveModel based model
    And I have a Catwalk presenter class for my model
    When I set access_as to "my_model"
    Then my presenter should expose the model via "my_model"<commit_msg>refactor in line with other features<commit_after>Feature: Specifying model accessor
  In order to access the underlying model in my presenter methods
  As a developer
  I want to specify an accessor I will use to access the undelying model

  @model @access
  Scenario: Specifiying accessor
    Given I have an ActiveModel based model
      """
      class MyActiveModel < ActiveModelExample
        attr_accessor :title
      end
      """
    When I define a Catwalk presenter class for my model
      """
      class MyModelPresenter
        include Catwalk::Presenter

        access_as :my_model
      end
      """
    When I set up my presenter for my model
      """
      @model = MyActiveModel.new
      @presenter = MyModelPresenter.new @model
      """
    Then my presenter should expose the model via "my_model"
{'fraction_non_alphanumeric': 0.03764705882352941, 'fraction_numerical': 0.0, 'mean_word_length': 2.9750778816199377, 'pattern_counts': {'":': 0, '<': 4, '<?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': '6876814', 'n_tokens_mistral': 338, 'n_tokens_neox': 334, 'n_words': 161}