Class: Confetti::Config::License
- Inherits:
-
Struct
- Object
- Struct
- Confetti::Config::License
- Defined in:
- lib/confetti/config/classes.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
Returns the value of attribute href.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href
28 29 30 |
# File 'lib/confetti/config/classes.rb', line 28 def href @href end |
#text ⇒ Object
Returns the value of attribute text
28 29 30 |
# File 'lib/confetti/config/classes.rb', line 28 def text @text end |
Instance Method Details
#defined_attrs ⇒ Object
29 30 31 32 33 34 |
# File 'lib/confetti/config/classes.rb', line 29 def defined_attrs { "text" => self[ :text ], "href" => self[ :href ] } end |