Class: Dassets::Engine
- Inherits:
-
Object
- Object
- Dassets::Engine
- Defined in:
- lib/dassets/engine.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
- #compile(input) ⇒ Object
- #ext(input_ext) ⇒ Object
-
#initialize(opts = nil) ⇒ Engine
constructor
A new instance of Engine.
Constructor Details
#initialize(opts = nil) ⇒ Engine
Returns a new instance of Engine.
8 9 10 |
# File 'lib/dassets/engine.rb', line 8 def initialize(opts = nil) @opts = opts || {} end |
Instance Attribute Details
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
6 7 8 |
# File 'lib/dassets/engine.rb', line 6 def opts @opts end |
Instance Method Details
#compile(input) ⇒ Object
16 17 18 |
# File 'lib/dassets/engine.rb', line 16 def compile(input) raise NotImplementedError end |
#ext(input_ext) ⇒ Object
12 13 14 |
# File 'lib/dassets/engine.rb', line 12 def ext(input_ext) raise NotImplementedError end |