Class: DesignSystem::Generic::Builders::Button
- Defined in:
- lib/design_system/generic/builders/button.rb
Overview
This class provides generic methods to display button on html.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers::CssHelper
Methods included from Concerns::BrandDerivable
Constructor Details
This class inherits a constructor from DesignSystem::Generic::Builders::Base
Instance Method Details
#render_button(content_or_options = nil, options = nil) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/design_system/generic/builders/button.rb', line 8 def ( = nil, = nil, &) = (, ) if block_given? ( = nil, &) else (, ) end end |