Sha256: f13ca98fd519e5beb625acd8e1aab90f7cbe15c6d5072d26fbe376214622e5ac

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

module AjaxDatatablesRails
  module Datatable
    class SimpleSearch
      attr_reader :options

      def initialize options
        @options = options || {}
      end

      def value
        options[:value]
      end

      def regexp?
        options[:regex] == TRUE_VALUE
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datatables-net-0.4.0 lib/ajax-datatables-rails/datatable/simple_search.rb