Sha256: edf0acb3c758a4a72effcedf6d56db434130e2be1e2c9af87d9aff40646b2742

Contents?: true

Size: 396 Bytes

Versions: 25

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  module Tags
    class ResponseStatus < Liquid::Tag
      attr_reader :var

      def initialize(tag_name, markup, options)
        super
        @var = Liquid::Variable.new(markup, options)
      end

      class ParseTreeVisitor < Liquid::ParseTreeVisitor
        def children
          [@node.var]
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
platformos-check-0.4.14 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.13 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.12 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.11 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.10 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.9 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.8 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.7 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.6 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.5 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.4 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.3 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.2 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.1 lib/platformos_check/tags/response_status.rb
platformos-check-0.4.0 lib/platformos_check/tags/response_status.rb
platformos-check-0.3.3 lib/platformos_check/tags/response_status.rb
platformos-check-0.3.1 lib/platformos_check/tags/response_status.rb
platformos-check-0.3.0 lib/platformos_check/tags/response_status.rb
platformos-check-0.2.2 lib/platformos_check/tags/response_status.rb
platformos-check-0.2.1 lib/platformos_check/tags/response_status.rb