Class: NitroKit::SettingsLayout::Item

Inherits:
Data
  • Object
show all
Defined in:
app/components/nitro_kit/settings_layout.rb

Instance Attribute Summary collapse

Instance Attribute Details

#currentObject (readonly)

Returns the value of attribute current

Returns:

  • (Object)

    the current value of current



5
6
7
# File 'app/components/nitro_kit/settings_layout.rb', line 5

def current
  @current
end

#hrefObject (readonly)

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



5
6
7
# File 'app/components/nitro_kit/settings_layout.rb', line 5

def href
  @href
end

#iconObject (readonly)

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



5
6
7
# File 'app/components/nitro_kit/settings_layout.rb', line 5

def icon
  @icon
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



5
6
7
# File 'app/components/nitro_kit/settings_layout.rb', line 5

def text
  @text
end