Sha256: 20771b76337b48b5d9669a2bfc5dc1ff2112492ce97b5463a7147ee0d62aa577

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

module Alf
  module Tools

    # Coercion rules
    Coercions = Myrrha::Coerce.dup.append do
    end
    
    # Delegated to Coercions
    def coerce(value, domain)
      Coercions.apply(value, domain)
    end
    
  end # module Tools
end # module Alf

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alf-0.10.1 lib/alf/tools/coerce.rb
alf-0.10.0 lib/alf/tools/coerce.rb