Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
iachettifederico committed Jan 20, 2024
1 parent 5d6b6dd commit b5a4224
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/phlex/renderable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def element_method?(method_name)
end
end

def element_method?(method_name)
self.class.element_method?(method_name)
end

# @!method initialize
# @abstract Override to define an initializer for your component.
# @note Your initializer will not receive a block passed to {.new}. Instead, this block will be sent to {#template} when rendering.
Expand Down

0 comments on commit b5a4224

Please sign in to comment.