rf-web/vendor/bundle/gems/sassc-2.2.1/lib/sassc/dependency.rb

18 lines
313 B
Ruby
Raw Normal View History

2019-10-21 08:18:17 +00:00
# frozen_string_literal: true
module SassC
class Dependency
attr_reader :filename
attr_reader :options
def initialize(filename)
@filename = filename
@options = { filename: @filename }
end
def self.from_filenames(filenames)
filenames.map { |f| new(f) }
end
end
end