Class: OsCtld::Assets::Definition::Scope
- Inherits:
-
Object
- Object
- OsCtld::Assets::Definition::Scope
- Defined in:
- lib/osctld/assets/definition.rb
Instance Attribute Summary collapse
-
#assets ⇒ Object
readonly
Returns the value of attribute assets.
Instance Method Summary collapse
- #asset(type, path, opts = {}) ⇒ Object
-
#initialize ⇒ Scope
constructor
A new instance of Scope.
Constructor Details
#initialize ⇒ Scope
Returns a new instance of Scope.
9 10 11 |
# File 'lib/osctld/assets/definition.rb', line 9 def initialize @assets = [] end |
Instance Attribute Details
#assets ⇒ Object (readonly)
Returns the value of attribute assets.
7 8 9 |
# File 'lib/osctld/assets/definition.rb', line 7 def assets @assets end |