Class: UniRails::App::CSS
- Inherits:
-
Object
- Object
- UniRails::App::CSS
- Includes:
- Singleton
- Defined in:
- lib/uni_rails/app/css.rb
Instance Attribute Summary collapse
-
#css ⇒ Object
Returns the value of attribute css.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ CSS
constructor
A new instance of CSS.
Constructor Details
#initialize ⇒ CSS
Returns a new instance of CSS.
15 16 17 |
# File 'lib/uni_rails/app/css.rb', line 15 def initialize @css = "" end |
Instance Attribute Details
#css ⇒ Object
Returns the value of attribute css.
14 15 16 |
# File 'lib/uni_rails/app/css.rb', line 14 def css @css end |
Class Method Details
.css ⇒ Object
10 11 12 |
# File 'lib/uni_rails/app/css.rb', line 10 def self.css instance.css end |
.css=(content) ⇒ Object
6 7 8 |
# File 'lib/uni_rails/app/css.rb', line 6 def self.css=(content) instance.css = content end |