Class: Answers::Core::Stylesheet

Inherits:
Object
  • Object
show all
Defined in:
lib/answers/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.



83
84
85
86
# File 'lib/answers/core/configuration.rb', line 83

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.



82
83
84
# File 'lib/answers/core/configuration.rb', line 82

def options
  @options
end

#pathObject (readonly)

Returns the value of attribute path.



82
83
84
# File 'lib/answers/core/configuration.rb', line 82

def path
  @path
end