Class: Refinery::Core::Stylesheet
- Inherits:
-
Object
- Object
- Refinery::Core::Stylesheet
- Defined in:
- core/lib/refinery/core/configuration.rb
Overview
wrapper for stylesheet registration
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Stylesheet
constructor
A new instance of Stylesheet.
Constructor Details
#initialize(*args) ⇒ Stylesheet
Returns a new instance of Stylesheet.
80 81 82 83 |
# File 'core/lib/refinery/core/configuration.rb', line 80 def initialize(*args) @options = args. @path = args.first if args.first end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
79 80 81 |
# File 'core/lib/refinery/core/configuration.rb', line 79 def @options end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
79 80 81 |
# File 'core/lib/refinery/core/configuration.rb', line 79 def path @path end |