Sha256: 63dc10f865ab7c92d06ee3f4dfe6320023b8330aa8fa1d57a6a5a094634d279b

Contents?: true

Size: 228 Bytes

Versions: 64

Compression:

Stored size: 228 Bytes

Contents

class Rack::App::Utils::Parser::Custom
  def initialize(type)
    @type = type
  end

  def parse(str)
    @type.parse(str)
  end

  def validate(str)
    parse(str)
    return true
  rescue Exception
    return false
  end
end

Version data entries

64 entries across 64 versions & 2 rubygems

Version Path
rack-app-7.3.2 lib/rack/app/utils/parser/custom.rb
rack-app-7.3.1 lib/rack/app/utils/parser/custom.rb
rack-app-7.3.0 lib/rack/app/utils/parser/custom.rb
rack-app-7.2.2 lib/rack/app/utils/parser/custom.rb
rack-app-7.2.1 lib/rack/app/utils/parser/custom.rb
rack-app-7.2.0 lib/rack/app/utils/parser/custom.rb
rack-app-7.1.0 lib/rack/app/utils/parser/custom.rb
rack-app-7.0.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.8.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.7.1 lib/rack/app/utils/parser/custom.rb
rack-app-6.7.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.6.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.5.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.4.1 lib/rack/app/utils/parser/custom.rb
rack-app-6.4.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.3.3 lib/rack/app/utils/parser/custom.rb
rack-app-6.3.2 lib/rack/app/utils/parser/custom.rb
rack-app-6.3.1 lib/rack/app/utils/parser/custom.rb
rack-app-6.3.0 lib/rack/app/utils/parser/custom.rb
rack-app-6.2.0 lib/rack/app/utils/parser/custom.rb