Class: Houston::Extensions::Link

Inherits:
Struct
  • Object
show all
Includes:
LinkTo, Permitted
Defined in:
lib/houston/boot/extensions/navigation.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Permitted

#permitted?

Methods included from LinkTo

#path

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



38
39
40
# File 'lib/houston/boot/extensions/navigation.rb', line 38

def name
  @name
end

#slugObject

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



38
39
40
# File 'lib/houston/boot/extensions/navigation.rb', line 38

def slug
  @slug
end