Sha256: 7a0433f2697eb40f3d801b967cf76c320357a6829a089c90211fd5d41200772f

Contents?: true

Size: 142 Bytes

Versions: 2

Compression:

Stored size: 142 Bytes

Contents

class Promise
  def then_build_routes(&block)
    self.then do |*args|
      React::Router::DSL.build_routes(*args, &block)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper-router-2.4.1 lib/promise_extras.rb
hyper-router-2.4.0 lib/promise_extras.rb