Skip to content

Commit

Permalink
[palindrome-products] Fix formatting (example.rb)
Browse files Browse the repository at this point in the history
  • Loading branch information
themetar committed Oct 9, 2024
1 parent f52235b commit 552375e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exercises/practice/palindrome-products/.meta/example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class Palindromes
private

attr_reader :min, :max

def initialize(max_factor:, min_factor: 1)
Expand Down Expand Up @@ -30,6 +31,7 @@ def find_palindrome(enum)
end

public

attr_reader :smallest, :largest

def generate
Expand Down

0 comments on commit 552375e

Please sign in to comment.