Sha256: d498b0e1ec5d549a773b9cb741a197d8c033d0a24936f6f02deb60bbe7facf70

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

require 'simple/constraints/version'
require 'simple/constraints/subdomain'

module Simple
  module Constraints
    def subdomain(*args, &block)
      constraints Subdomain.new(*args), &block
    end
  end
end

require 'simple/constraints/railtie' if defined?(Rails)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple-constraints-1.0.2 lib/simple/constraints.rb
simple-constraints-1.0.1 lib/simple/constraints.rb