Class: Middleman::Sprockets::Interface
- Inherits:
-
Object
- Object
- Middleman::Sprockets::Interface
- Includes:
- Contracts, Sprockets3, Sprockets4
- Defined in:
- lib/middleman-sprockets/interface.rb
Defined Under Namespace
Modules: Sprockets3, Sprockets4
Instance Attribute Summary collapse
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#extensions ⇒ Object
readonly
Returns the value of attribute extensions.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options, environment) ⇒ Interface
constructor
A new instance of Interface.
Methods included from Sprockets3
Methods included from Sprockets4
Constructor Details
#initialize(options, environment) ⇒ Interface
Returns a new instance of Interface.
13 14 15 16 17 |
# File 'lib/middleman-sprockets/interface.rb', line 13 def initialize , environment @options = @environment = environment setup! end |
Instance Attribute Details
#environment ⇒ Object (readonly)
Returns the value of attribute environment.
8 9 10 |
# File 'lib/middleman-sprockets/interface.rb', line 8 def environment @environment end |
#extensions ⇒ Object (readonly)
Returns the value of attribute extensions.
8 9 10 |
# File 'lib/middleman-sprockets/interface.rb', line 8 def extensions @extensions end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/middleman-sprockets/interface.rb', line 8 def @options end |