lib/zx/steps.rb in zx-monads-0.0.5 vs lib/zx/steps.rb in zx-monads-0.0.6
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Zx
class Steps
- include Maybe
+ include Zx::Maybeable
class << self
def step(step)
steps << step
end
@@ -17,6 +17,6 @@
def call
list = self.class.steps
list.reduce(Some()) { |result, step| result >> send(step) }
end
end
-end
\ No newline at end of file
+end