Class: Clearwater::CachedRender::Wrapper

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ Wrapper

Returns a new instance of Wrapper.



10
11
12
13
# File 'lib/bluesky.rb', line 10

def initialize content
  @content = content
  @key = content.key
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



8
9
10
# File 'lib/bluesky.rb', line 8

def content
  @content
end