Class: Confetti::Config::Content
- Inherits:
-
Struct
- Object
- Struct
- Confetti::Config::Content
- Defined in:
- lib/confetti/config/classes.rb
Instance Attribute Summary collapse
-
#encoding ⇒ Object
Returns the value of attribute encoding.
-
#src ⇒ Object
Returns the value of attribute src.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#encoding ⇒ Object
Returns the value of attribute encoding
45 46 47 |
# File 'lib/confetti/config/classes.rb', line 45 def encoding @encoding end |
#src ⇒ Object
Returns the value of attribute src
45 46 47 |
# File 'lib/confetti/config/classes.rb', line 45 def src @src end |
#type ⇒ Object
Returns the value of attribute type
45 46 47 |
# File 'lib/confetti/config/classes.rb', line 45 def type @type end |
Instance Method Details
#defined_attrs ⇒ Object
46 47 48 49 50 51 52 |
# File 'lib/confetti/config/classes.rb', line 46 def defined_attrs { "src" => self[ :src ], "type" => self[ :type ], "encoding" => self[ :encoding ] } end |