Class: ViewComponent::InlineTemplate::Template

Inherits:
Struct
  • Object
show all
Defined in:
lib/view_component/inline_template.rb

Instance Attribute Summary collapse

Instance Attribute Details

#languageObject

Returns the value of attribute language

Returns:

  • (Object)

    the current value of language



6
7
8
# File 'lib/view_component/inline_template.rb', line 6

def language
  @language
end

#linenoObject

Returns the value of attribute lineno

Returns:

  • (Object)

    the current value of lineno



6
7
8
# File 'lib/view_component/inline_template.rb', line 6

def lineno
  @lineno
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/view_component/inline_template.rb', line 6

def path
  @path
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



6
7
8
# File 'lib/view_component/inline_template.rb', line 6

def source
  @source
end