require "alone" require_relative "./address_book" class AddressBookController < AlController # コンストラクタ def initialize() @form = AlForm.new( AlText.new("name", :label=>"名前", :required=>true), AlText.new("address", :label=>"住所"), AlSubmit.new("決定"), AlHidden.new("id"), ) end