Class: ViewComponent::Template::DataWithSource

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

Instance Attribute Summary collapse

Instance Attribute Details

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



8
9
10
# File 'lib/view_component/template.rb', line 8

def format
  @format
end

#identifierObject

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



8
9
10
# File 'lib/view_component/template.rb', line 8

def identifier
  @identifier
end

#short_identifierObject

Returns the value of attribute short_identifier

Returns:

  • (Object)

    the current value of short_identifier



8
9
10
# File 'lib/view_component/template.rb', line 8

def short_identifier
  @short_identifier
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



8
9
10
# File 'lib/view_component/template.rb', line 8

def type
  @type
end