Class: SproutPunk::Assets::Asset

Inherits:
Object
  • Object
show all
Defined in:
lib/sproutpunk/assets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

Returns the value of attribute class_name.



6
7
8
# File 'lib/sproutpunk/assets.rb', line 6

def class_name
  @class_name
end

#source_fileObject

Returns the value of attribute source_file.



6
7
8
# File 'lib/sproutpunk/assets.rb', line 6

def source_file
  @source_file
end