Skip to content

Commit

Permalink
Fix format_unspecified.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Sep 30, 2024
1 parent 919d1af commit ea8e708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/financier/form_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ module Financier
class FormFormatter < ViewFormatter
include XRB::Formatters::HTML::DefinitionListForm

def format_unspecified(object, options)
def format_unspecified(object, **options)
object.to_s
end

unmap(Latinum::Resource)

def select(options = {}, &block)
def select(**options, &block)
element(XRB::Formatters::HTML::OptionSelect, **options, &block)
end

Expand Down

0 comments on commit ea8e708

Please sign in to comment.