Class: Marker::InlineArgument

Inherits:
Argument show all
Defined in:
lib/marker/templates.rb

Overview

allow the grammar to distinguish between argument styles, but they render no differently at the argument level. these allow a template to decide whether it needs to be wrapped in a div for html output.

Instance Method Summary collapse

Methods inherited from Argument

#name, #to_html, #to_s, #val

Methods inherited from Treetop::Runtime::SyntaxNode

#present?

Instance Method Details

#block?Boolean

Returns:

  • (Boolean)


145
146
147
# File 'lib/marker/templates.rb', line 145

def block?
  false
end