Class: Confetti::Config::License

Inherits:
Struct
  • Object
show all
Defined in:
lib/confetti/config/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



28
29
30
# File 'lib/confetti/config/classes.rb', line 28

def href
  @href
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



28
29
30
# File 'lib/confetti/config/classes.rb', line 28

def text
  @text
end

Instance Method Details

#defined_attrsObject



29
30
31
32
33
34
# File 'lib/confetti/config/classes.rb', line 29

def defined_attrs
  {
    "text" => self[ :text ],
    "href" => self[ :href ]
  }
end