Class: ActiveAdmin::Stylesheet

Inherits:
Object
  • Object
show all
Defined in:
lib/active_admin/asset_registration.rb

Overview

Wrapper class for stylesheet registration

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Stylesheet) initialize(*args)

A new instance of Stylesheet



40
41
42
43
# File 'lib/active_admin/asset_registration.rb', line 40

def initialize(*args)
  @options = args.extract_options!
  @path = args.first if args.first
end

Instance Attribute Details

- (Object) options (readonly)

Returns the value of attribute options



38
39
40
# File 'lib/active_admin/asset_registration.rb', line 38

def options
  @options
end

- (Object) path (readonly)

Returns the value of attribute path



38
39
40
# File 'lib/active_admin/asset_registration.rb', line 38

def path
  @path
end