Skip to content

Commit

Permalink
fix: lint'em hard
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenrixon committed Dec 3, 2024
1 parent 4f20635 commit 5e9cabc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true

source "https://rubygems.org"
gemspec
gemspec
2 changes: 1 addition & 1 deletion lib/phlexy_ui/collapsible_sub_menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(*, **)

def view_template(&)
yield(self) if block_given?

attributes = generate_attributes(base_modifiers, options, ATTRIBUTES_MAP)

generate_classes!(
Expand Down
2 changes: 1 addition & 1 deletion lib/phlexy_ui/tab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize(*, id: nil, **)

def view_template(&)
yield(self) if block_given?

if @content
render TabWithContent.new(
*base_modifiers,
Expand Down
2 changes: 1 addition & 1 deletion spec/support/phlex_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Testing
module ViewHelper
include Phlex::Testing::SGML

alias render render_to_string
alias_method :render, :render_to_string
end
end
end
Expand Down

0 comments on commit 5e9cabc

Please sign in to comment.