diff --git a/lib/zx.rb b/lib/zx.rb index 3b6d20a..63845e6 100644 --- a/lib/zx.rb +++ b/lib/zx.rb @@ -1,10 +1,11 @@ # frozen_string_literal: true +require 'zx/version' +require 'zx/fmap' +require 'zx/given' +require 'zx/mixin' +require 'zx/reflect' +require 'zx/result' + module Zx - require 'zx/version' - require 'zx/fmap' - require 'zx/given' - require 'zx/mixin' - require 'zx/reflect' - require 'zx/result' end diff --git a/lib/zx/result.rb b/lib/zx/result.rb index 4d6b619..df570ec 100644 --- a/lib/zx/result.rb +++ b/lib/zx/result.rb @@ -103,10 +103,10 @@ def success!(value = nil, type: :ok) self end - include Zx::Mixin - extend Zx::Mixin + include ::Zx::Mixin + extend ::Zx::Mixin end - include Zx::Mixin - extend Zx::Mixin + include ::Zx::Mixin + extend ::Zx::Mixin end