Class: Refinery::Core::Stylesheet

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

Overview

wrapper for stylesheet registration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Stylesheet

Returns a new instance of Stylesheet.



91
92
93
94
# File 'lib/refinery/core/configuration.rb', line 91

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

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



90
91
92
# File 'lib/refinery/core/configuration.rb', line 90

def options
  @options
end

#pathObject (readonly)

Returns the value of attribute path.



90
91
92
# File 'lib/refinery/core/configuration.rb', line 90

def path
  @path
end