SleeplessByte/ruby-multibase

View on GitHub
lib/multibases/byte_array.rb

Summary

Maintainability
A
0 mins
Test Coverage

Extra empty line detected at module body beginning.
Open


  class ByteArray < DelegateClass(Array)
Severity: Minor
Found in lib/multibases/byte_array.rb by rubocop

This cops checks if empty lines around the bodies of modules match the configuration.

Example: EnforcedStyle: empty_lines

# good

module Foo

  def bar
    # ...
  end

end

Example: EnforcedStyle: emptylinesexcept_namespace

# good

module Foo
  module Bar

    # ...

  end
end

Example: EnforcedStyle: emptylinesspecial

# good
module Foo

  def bar; end

end

Example: EnforcedStyle: noemptylines (default)

# good

module Foo
  def bar
    # ...
  end
end

There are no issues that match your filters.

Category
Status