Class: RedSnow::Sourcemap::SourceMap
- Inherits:
-
Array
- Object
- Array
- RedSnow::Sourcemap::SourceMap
- Defined in:
- lib/redsnow/sourcemap.rb
Overview
SourceMap
Instance Method Summary collapse
-
#initialize(sourcemap) ⇒ SourceMap
constructor
A new instance of SourceMap.
Constructor Details
#initialize(sourcemap) ⇒ SourceMap
Returns a new instance of SourceMap.
26 27 28 29 30 31 32 |
# File 'lib/redsnow/sourcemap.rb', line 26 def initialize(sourcemap) return if sourcemap.nil? sourcemap.each do |position| self << position end end |