Sha256: 87a2bf97f30f70041e55fcb3188e6d0c45555aae809acdec0ad9e484faad759e

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

module Checked
  class Ask
      class Strings

        include Ask::Base
        
        namespace '/string!'

        route
        def empty?
          target.strip.empty?
        end

        route
        def include? 
          !!target[*args]
        end

        route
        def exclude? 
          !target[*args]
        end

      end # === class Strings
  end # === class Ask
end # === module Checked

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Checked-1.0.0 lib/Checked/Ask/Strings.rb