Class: UniRails::App::CSS

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/uni_rails/app/css.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCSS

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

#cssObject

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

.cssObject



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