1
0
Fork 0
discourse-custom-wizard-unl.../lib/custom_wizard/action_result.rb
2020-05-04 19:02:49 +10:00

15 Zeilen
186 B
Ruby

class CustomWizard::ActionResult
attr_accessor :success, :handler
def initialize
@success = false
end
def success?
@success
end
def failed?
!success
end
end