Sha256: 8ce49cad057063c0adfd2e1a1ef85262d1d3653c4951bcad4895f62fd7ccc04c

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

module Checked
  class Demand
    class Symbols

      include Demand::Base

      namespace '/symbol!'
      
      before
      def validate
        case target
        when Symbol
        else
          fail! '...must be a Symbol.'
        end
      end

    end # === class Symbols
  end # === class Demand
end # === module Checked

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Checked-1.0.0 lib/Checked/Demand/Symbols.rb