Class: Higan::Rendered

Inherits:
Object
  • Object
show all
Defined in:
lib/higan/rendered.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



3
4
5
# File 'lib/higan/rendered.rb', line 3

def body
  @body
end

#pathObject

Returns the value of attribute path.



3
4
5
# File 'lib/higan/rendered.rb', line 3

def path
  @path
end

#updated_atObject

Returns the value of attribute updated_at.



3
4
5
# File 'lib/higan/rendered.rb', line 3

def updated_at
  @updated_at
end