app/services/sample_invitation_creator.rb
Inconsistent indentation detected. Open
Open
attr_reader :group, :quantity
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
Open
def new_invitation
date = CREATION_DATE + rand(ONE_MINUTE..TWENTY_THREE_HOURS)
first_name = Faker::Name.first_name
last_name = Faker::Name.last_name
full_name = "#{first_name} #{last_name}"
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
Open
def build_invitations
quantity.times do
@invitations << new_invitation
end
end
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end