Class: Maglove::Widgets::Page
- Inherits:
-
Base
- Object
- Base
- Maglove::Widgets::Page
show all
- Defined in:
- lib/maglove/widgets/page.rb
Instance Attribute Summary
Attributes inherited from Base
#options, #scope
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #widget_options
Instance Method Details
#defaults ⇒ Object
8
9
10
11
12
13
|
# File 'lib/maglove/widgets/page.rb', line 8
def defaults
{
text_color: "#000000",
background_color: "#FFFFFF"
}
end
|
#identifier ⇒ Object
4
5
6
|
# File 'lib/maglove/widgets/page.rb', line 4
def identifier
"page"
end
|
#template(&block) ⇒ Object
15
16
17
|
# File 'lib/maglove/widgets/page.rb', line 15
def template(&block)
yield if block
end
|