Class: Higan::Rendered
- Inherits:
-
Object
- Object
- Higan::Rendered
- Defined in:
- lib/higan/rendered.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#path ⇒ Object
Returns the value of attribute path.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(**params) ⇒ Rendered
constructor
A new instance of Rendered.
Constructor Details
#initialize(**params) ⇒ Rendered
Returns a new instance of Rendered.
5 6 7 8 9 |
# File 'lib/higan/rendered.rb', line 5 def initialize(**params) params.each_pair do |k, v| self.send("#{k}=", v) end end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
3 4 5 |
# File 'lib/higan/rendered.rb', line 3 def body @body end |
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/higan/rendered.rb', line 3 def path @path end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
3 4 5 |
# File 'lib/higan/rendered.rb', line 3 def updated_at @updated_at end |