Method: Flows::Result#initialize

Defined in:
lib/flows/result.rb

#initializeResult

Direct creation of this abstract class is forbidden.

Raises:

  • (StandardError)

    you will get an error

Since:

  • 0.4.0



177
178
179
# File 'lib/flows/result.rb', line 177

def initialize(**)
  raise 'Use Flows::Result::Ok or Flows::Result::Err for build result objects'
end