Module: Klods::Utilities
- Included in:
- Builders
- Defined in:
- lib/klods/utilities.rb
Instance Method Summary collapse
Instance Method Details
#fill(a = nil, b = nil) ⇒ Object
8 9 10 11 |
# File 'lib/klods/utilities.rb', line 8 def fill(a = nil, b = nil) props, children = Core.normalize_args(a, b) Core.build(tag: "div", base: "klods-fill", props: props, children: children) end |
#push(a = nil, b = nil) ⇒ Object
3 4 5 6 |
# File 'lib/klods/utilities.rb', line 3 def push(a = nil, b = nil) props, children = Core.normalize_args(a, b) Core.build(tag: "span", base: "klods-push", props: props, children: children) end |