Class: RedSnow::Sourcemap::Metadata

Inherits:
Node
  • Object
show all
Defined in:
lib/redsnow/sourcemap.rb

Overview

Metadata source map collection node

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sc_sm_metadata_collection_handle) ⇒ Metadata



46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/redsnow/sourcemap.rb', line 46

def initialize()
   = RedSnow::Binding.()

  if  > 0
     =  - 1
    @collection = Array.new

    for index in 0.. do
       = RedSnow::Binding.(, index)
      @collection << SourceMap.new(RedSnow::Binding.())
    end
  end
end

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



43
44
45
# File 'lib/redsnow/sourcemap.rb', line 43

def collection
  @collection
end