lib/cfn-events/config.rb
# Stronger builder pattern would be nice
Stronger builder pattern would be nice
Stronger builder pattern would be nice
def build
      if !@stack_name_or_id
        raise "Missing stack_name_or_id"
      end
      if @wait and @forever
        raise "wait and forever cannot be combined"
      end
      self
    end
def build if ! @stack_name_or_id raise "Missing stack_name_or_id" end if @wait and @forever raise "wait and forever cannot be combined" end self end
Stronger builder pattern would be nice
Stronger builder pattern would be nice