Class: SproutPunk::Assets::Asset
- Inherits:
-
Object
- Object
- SproutPunk::Assets::Asset
- Defined in:
- lib/sproutpunk/assets.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#source_file ⇒ Object
Returns the value of attribute source_file.
Instance Method Summary collapse
-
#initialize(source_file, class_name) ⇒ Asset
constructor
A new instance of Asset.
Constructor Details
#initialize(source_file, class_name) ⇒ Asset
Returns a new instance of Asset.
8 9 10 11 |
# File 'lib/sproutpunk/assets.rb', line 8 def initialize(source_file, class_name) @source_file = source_file @class_name = class_name end |
Instance Attribute Details
#class_name ⇒ Object
Returns the value of attribute class_name.
6 7 8 |
# File 'lib/sproutpunk/assets.rb', line 6 def class_name @class_name end |
#source_file ⇒ Object
Returns the value of attribute source_file.
6 7 8 |
# File 'lib/sproutpunk/assets.rb', line 6 def source_file @source_file end |