class Avo::Resources::Controls::CreateButton

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/avo/resources/controls/create_button.rbs

class Avo::Resources::Controls::CreateButton < Avo::Resources::Controls::BaseControl
  def initialize: (**Hash args) -> void
end

def initialize(**args)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (**item | String args) -> void

This signature was generated using 1 sample from 1 application.

def initialize(**args)
  super(**args)
  if args[:item].present?
    @label = I18n.t("avo.create_new_item", item: args[:item].humanize(capitalize: false)) if label.nil?
  end
end