Class: PlatformosCheck::Tags::ResponseHeaders

Inherits:
Liquid::Tag
  • Object
show all
Defined in:
lib/platformos_check/tags/response_headers.rb

Defined Under Namespace

Classes: ParseTreeVisitor

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag_name, markup, options) ⇒ ResponseHeaders

Returns a new instance of ResponseHeaders.



8
9
10
11
# File 'lib/platformos_check/tags/response_headers.rb', line 8

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

Instance Attribute Details

#varObject (readonly)

Returns the value of attribute var.



6
7
8
# File 'lib/platformos_check/tags/response_headers.rb', line 6

def var
  @var
end