Class: Refinery::Core::Stylesheet

Inherits:
Object
  • Object
show all
Defined in:
core/lib/refinery/core/configuration.rb

Overview

wrapper for stylesheet registration

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Stylesheet) initialize(*args)

A new instance of Stylesheet



58
59
60
61
# File 'core/lib/refinery/core/configuration.rb', line 58

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



57
58
59
# File 'core/lib/refinery/core/configuration.rb', line 57

def options
  @options
end

- (Object) path (readonly)

Returns the value of attribute path



57
58
59
# File 'core/lib/refinery/core/configuration.rb', line 57

def path
  @path
end