Class: Rails::Surrender::Render::Resource::InclusionMapper::Element

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails/surrender/render/resource/inclusion_mapper.rb

Instance Attribute Summary collapse

Instance Attribute Details

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



11
12
13
# File 'lib/rails/surrender/render/resource/inclusion_mapper.rb', line 11

def klass
  @klass
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/rails/surrender/render/resource/inclusion_mapper.rb', line 11

def name
  @name
end