Module: Glimmer::CSS::CssFragment
- Included in:
- CssFragmentComposite, RawCss, Rule
- Defined in:
- lib/glimmer/css/css_fragment.rb
Instance Method Summary collapse
-
#to_css ⇒ Object
Subclasses must override to return a CSS String.
-
#to_s ⇒ Object
Returns the value of to_css.
Instance Method Details
#to_css ⇒ Object
Subclasses must override to return a CSS String
26 27 28 |
# File 'lib/glimmer/css/css_fragment.rb', line 26 def to_css raise 'Not implemented! Subclasses must override/implement to return a CSS String.' end |
#to_s ⇒ Object
Returns the value of to_css
31 32 33 |
# File 'lib/glimmer/css/css_fragment.rb', line 31 def to_s to_css end |