Class: Decidim::Admin::ScopesHelper::Option

Inherits:
Struct
  • Object
show all
Defined in:
app/helpers/decidim/admin/scopes_helper.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



7
8
9
# File 'app/helpers/decidim/admin/scopes_helper.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'app/helpers/decidim/admin/scopes_helper.rb', line 7

def name
  @name
end