hubfeenix.fi/lib/form_handler.rb

11 lines
186 B
Ruby
Raw Normal View History

class FormHandler
def handle_form(section , data )
puts "Section on page : #{section.page.name}"
data.each do |name , value|
puts "#{name}: #{value}"
end
end
end