Class: Maglove::Widgets::Paragraph
- Inherits:
-
Base
- Object
- Base
- Maglove::Widgets::Paragraph
show all
- Defined in:
- lib/maglove/widgets/paragraph.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
14
15
16
|
# File 'lib/maglove/widgets/paragraph.rb', line 8
def defaults
{
align: "left",
size: "md",
drop_cap: "",
drop_cap_color: "#000000",
line_height: ""
}
end
|
#identifier ⇒ Object
4
5
6
|
# File 'lib/maglove/widgets/paragraph.rb', line 4
def identifier
"paragraph"
end
|
#template(&block) ⇒ Object
18
19
20
|
# File 'lib/maglove/widgets/paragraph.rb', line 18
def template(&block)
yield if block
end
|