Class: ActiveAdmin::Stylesheet
- Inherits:
-
Object
- Object
- ActiveAdmin::Stylesheet
- Defined in:
- lib/active_admin/asset_registration.rb
Overview
Wrapper class 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.
40 41 42 43 |
# File 'lib/active_admin/asset_registration.rb', line 40 def initialize(*args) @options = args. @path = args.first if args.first end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
38 39 40 |
# File 'lib/active_admin/asset_registration.rb', line 38 def @options end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
38 39 40 |
# File 'lib/active_admin/asset_registration.rb', line 38 def path @path end |