Class: Decidim::ScopesHelper::Option

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

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



9
10
11
# File 'app/helpers/decidim/scopes_helper.rb', line 9

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'app/helpers/decidim/scopes_helper.rb', line 9

def name
  @name
end