Class: PostRunner::NavButtonDef

Inherits:
Struct
  • Object
show all
Defined in:
lib/postrunner/NavButtonRow.rb

Overview

Auxilliary class that stores the name of an icon file and a URL as a String. It is used to describe a NavButtonRow button.

Instance Attribute Summary collapse

Instance Attribute Details

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



19
20
21
# File 'lib/postrunner/NavButtonRow.rb', line 19

def icon
  @icon
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



19
20
21
# File 'lib/postrunner/NavButtonRow.rb', line 19

def url
  @url
end