1
0
Fork 0
discourse-custom-wizard-unl.../lib/custom_wizard/action_result.rb

16 Zeilen
195 B
Ruby

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