Module: ArticleJSON::Export::Common::HTML::Elements::Shared::Float
- Defined in:
- lib/article_json/export/common/html/elements/shared/float.rb
Instance Method Summary collapse
-
#floating_class ⇒ String
The element’s floating class, if necessary.
Instance Method Details
#floating_class ⇒ String
The element’s floating class, if necessary
10 11 12 |
# File 'lib/article_json/export/common/html/elements/shared/float.rb', line 10 def floating_class "float-#{@element.float}" unless @element.float.nil? end |